From e55d758c93c25615ad14953bb634b7e69753bb65 Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Fri, 5 May 2006 00:51:44 +0000 Subject: Patch DSV.py indirectly, via CDBS's simple patch system, in preparation for switching to pure merge-with-upstream mode per DPMT conventions. --- debian/patches/01-leave-env-alone.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/patches/01-leave-env-alone.patch (limited to 'debian/patches') diff --git a/debian/patches/01-leave-env-alone.patch b/debian/patches/01-leave-env-alone.patch new file mode 100644 index 0000000..e9e8544 --- /dev/null +++ b/debian/patches/01-leave-env-alone.patch @@ -0,0 +1,20 @@ +diff -Nur python-dsv-TRUNK/DSV/DSV.py python-dsv-TRUNK.new/DSV/DSV.py +--- python-dsv-TRUNK/DSV/DSV.py 2003-01-22 17:50:40.000000000 -0500 ++++ python-dsv-TRUNK.new/DSV/DSV.py 2006-04-18 09:47:32.000000000 -0400 +@@ -117,11 +117,11 @@ + import copy + import exceptions + import string +-# RedHat 8.0 (or rather GTK2?) sets LANG = en_us.UTF-8 and apparently some +-# older apps (including wxGTK) can't handle this. The fix is to set LANG=C +-# before running the app. Thanks to Ahmad Baitalmal for supplying this info. +-import os +-os.putenv('LANG', 'C') ++## RedHat 8.0 (or rather GTK2?) sets LANG = en_us.UTF-8 and apparently some ++## older apps (including wxGTK) can't handle this. The fix is to set LANG=C ++## before running the app. Thanks to Ahmad Baitalmal for supplying this info. ++# import os ++# os.putenv('LANG', 'C') + + try: + from wxPython import wx, grid -- cgit v1.2.3