components/python/python34/patches/14-ossaudiodev.patch
changeset 3869 eb4c6284602f
parent 2183 5d00686e81da
child 5229 b7b91ddbbdce
equal deleted inserted replaced
3867:e12ff6f7add3 3869:eb4c6284602f
     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.2/setup.py.~6~	2014-09-22 14:17:20.562920233 -0700
     5 --- Python-3.4.3/setup.py.~6~	2015-02-25 08:25:07.739704118 -0800
     6 +++ Python-3.4.2/setup.py	2014-09-22 14:17:20.631967980 -0700
     6 +++ Python-3.4.3/setup.py	2015-02-25 08:25:07.807400186 -0800
     7 @@ -1569,7 +1569,7 @@
     7 @@ -1596,7 +1596,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')):