Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | sunaudiodev module is sunos specific so we avoid a warning by not |
| 2 | adding this module to missing variable. |
| 3 | |
| 4 | Upstream-Status: Inappropriate [distribution] |
| 5 | |
| 6 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
| 7 | |
| 8 | Index: Python-2.7.2/setup.py |
| 9 | =================================================================== |
| 10 | --- Python-2.7.2.orig/setup.py 2012-04-05 22:29:18.049196608 +0300 |
| 11 | +++ Python-2.7.2/setup.py 2012-04-05 22:29:57.505195453 +0300 |
| 12 | @@ -1522,8 +1522,9 @@ |
| 13 | if platform == 'sunos5': |
| 14 | # SunOS specific modules |
| 15 | exts.append( Extension('sunaudiodev', ['sunaudiodev.c']) ) |
| 16 | - else: |
| 17 | - missing.append('sunaudiodev') |
| 18 | + # If platform is not sunos warning is useless |
| 19 | + #else: |
| 20 | + # missing.append('sunaudiodev') |
| 21 | |
| 22 | if platform == 'darwin': |
| 23 | # _scproxy |