Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c4b078

Browse files
committed
Merged revisions 80322 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r80322 | matthias.klose | 2010-04-22 00:18:52 +0200 (Do, 22 Apr 2010) | 2 lines - Build the ossaudio extension on GNU/kFreeBSD. ........
1 parent 5a204fe commit 4c4b078

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,8 @@ Extension Modules
10221022
- Issue #7999: os.setreuid() and os.setregid() would refuse to accept a -1
10231023
parameter on some platforms such as OS X.
10241024

1025+
- Build the ossaudio extension on GNU/kFreeBSD.
1026+
10251027
Build
10261028
-----
10271029

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,8 +1227,9 @@ class db_found(Exception): pass
12271227
# End multiprocessing
12281228

12291229
# Platform-specific libraries
1230-
if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
1231-
'freebsd7', 'freebsd8'):
1230+
if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
1231+
'freebsd7', 'freebsd8')
1232+
or platform.startswith("gnukfreebsd")):
12321233
exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
12331234
else:
12341235
missing.append('ossaudiodev')

0 commit comments

Comments
 (0)