components/python/python34/patches/14-ossaudiodev.patch
branchs11-update
changeset 3779 d01825f968e9
parent 3778 35735ffdda43
child 2183 5d00686e81da
equal deleted inserted replaced
3778:35735ffdda43 3779:d01825f968e9
     1 This patch is needed to make Python understand it can build the OSS plugin.  
     1 This patch is needed to make Python understand it can build the OSS plugin.  
     2 Some OSS ioctls are not supported on Solaris, so they are ifdef'd out.  As
     2 Some OSS ioctls are not supported on Solaris, so they are ifdef'd out.  As
     3 the patch is Solaris-specific, it is not suitable for upstream.
     3 the patch is Solaris-specific, it is not suitable for upstream.
     4 
     4 
     5 --- Python-3.4.0/setup.py.~6~	2014-03-19 10:50:15.496976758 -0700
     5 --- Python-3.4.1/setup.py.~6~	2014-05-27 11:05:28.340471151 -0700
     6 +++ Python-3.4.0/setup.py	2014-03-19 10:50:15.609798728 -0700
     6 +++ Python-3.4.1/setup.py	2014-05-27 11:05:28.416962700 -0700
     7 @@ -1551,7 +1551,7 @@
     7 @@ -1561,7 +1561,7 @@
     8          # End multiprocessing
     8          # End multiprocessing
     9  
     9  
    10          # Platform-specific libraries
    10          # Platform-specific libraries
    11 -        if host_platform.startswith(('linux', 'freebsd', 'gnukfreebsd')):
    11 -        if host_platform.startswith(('linux', 'freebsd', 'gnukfreebsd')):
    12 +        if host_platform.startswith(('sunos5', 'linux', 'freebsd', 'gnukfreebsd')):
    12 +        if host_platform.startswith(('sunos5', 'linux', 'freebsd', 'gnukfreebsd')):