mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-06-29 12:28:06 -07:00
dev-python/python-dsv: Apply Debian patches also fixing wxpython3 compat (#601178)
Package-Manager: portage-2.3.2
This commit is contained in:
21
dev-python/python-dsv/files/python-dsv-1.4.1-env.patch
Normal file
21
dev-python/python-dsv/files/python-dsv-1.4.1-env.patch
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user