summaryrefslogtreecommitdiff
path: root/dev-python/python-dsv/files/python-dsv-1.4.1-env.patch
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-11-29 21:34:07 +0100
committerPacho Ramos <pacho@gentoo.org>2016-11-29 21:45:31 +0100
commite0080102e0e227828b70549f64f70d485622d723 (patch)
treedd9e60f515d1f2b8325029c7be2f3fe0acfd66b3 /dev-python/python-dsv/files/python-dsv-1.4.1-env.patch
parent3466d1bb37850fbcef7b8d8570388ea4e61b9c45 (diff)
downloadgentoo-e0080102e0e227828b70549f64f70d485622d723.tar.gz
gentoo-e0080102e0e227828b70549f64f70d485622d723.tar.bz2
gentoo-e0080102e0e227828b70549f64f70d485622d723.zip
dev-python/python-dsv: Apply Debian patches also fixing wxpython3 compat (#601178)
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-python/python-dsv/files/python-dsv-1.4.1-env.patch')
-rw-r--r--dev-python/python-dsv/files/python-dsv-1.4.1-env.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/python-dsv/files/python-dsv-1.4.1-env.patch b/dev-python/python-dsv/files/python-dsv-1.4.1-env.patch
new file mode 100644
index 000000000000..c2e7aee946dc
--- /dev/null
+++ b/dev-python/python-dsv/files/python-dsv-1.4.1-env.patch
@@ -0,0 +1,21 @@
+Index: python-dsv-1.4.1/DSV/DSV.py
+===================================================================
+--- python-dsv-1.4.1.orig/DSV/DSV.py 2003-08-09 06:37:32.000000000 -0400
++++ python-dsv-1.4.1/DSV/DSV.py 2010-01-26 20:38:02.000000000 -0500
+@@ -127,11 +127,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