summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorAaron M. Ucko <ucko@debian.org>2006-05-05 00:51:44 +0000
committerAaron M. Ucko <ucko@debian.org>2006-05-05 00:51:44 +0000
commite55d758c93c25615ad14953bb634b7e69753bb65 (patch)
treedd509d41563edfb126c09d2881a2eae6a93bbb2c /debian/patches
parent29dfff66bf9684c69a81a39b5726e2de23e96cb7 (diff)
Patch DSV.py indirectly, via CDBS's simple patch system, in preparation
for switching to pure merge-with-upstream mode per DPMT conventions.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/01-leave-env-alone.patch20
1 files changed, 20 insertions, 0 deletions
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