diff options
Diffstat (limited to 'app-emulation/point2play/files/1.2-python2.2.patch')
-rw-r--r-- | app-emulation/point2play/files/1.2-python2.2.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/app-emulation/point2play/files/1.2-python2.2.patch b/app-emulation/point2play/files/1.2-python2.2.patch deleted file mode 100644 index fd24b7762af5..000000000000 --- a/app-emulation/point2play/files/1.2-python2.2.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- usr/lib/transgaming_point2play/tests/test_sound.py.orig 2003-09-16 14:04:31.000000000 -0400 -+++ usr/lib/transgaming_point2play/tests/test_sound.py 2003-10-07 15:17:36.044822360 -0400 -@@ -12,14 +12,21 @@ - import wave - import os, os.path - --import ossaudiodev -- -+disable_oss = 0; -+try: -+ import ossaudiodev -+except: -+ print "Python 2.3 not found. Disabling oss audio tests." -+ disable_oss = 1; - - TESTS = (_("Test For Sound Support"), "tgtest_sound", False), - - def tgtest_sound(): - """runs a test to ensure that sound output is working""" - -+ if disable_oss: -+ return ((_('Basic sound test'), _('Test is disabled.'), 'red'),) -+ - try: - try: - P2PPATH=os.environ["P2PPATH"] + "/" -@@ -56,6 +63,11 @@ - return ((_('Basic sound test'), _('Completed successfully\nDid you hear the sound?'), 'green'),) - - def tgtest_sound_description(): -+ if disable_oss: -+ return _('This test has been disabled.\n') + \ -+ _('Please see:\n') + \ -+ _('http://bugs.gentoo.org/show_bug.cgi?id=30556\n') + \ -+ _('for more information.') - return _('This test attempts to play a sound\n') + \ - _('file at 44 khz. This test uses the\n') + \ - _('same method as WineX to play sound\n') + \ |