summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2008-01-05 00:47:39 +0000
committerRyan Hill <rhill@gentoo.org>2008-01-05 00:47:39 +0000
commitccf6dce04002c1ce9e9981a55a5b9c86d4048f20 (patch)
treecb8a7e92226a90d6e5c205fa9668915daa1b4512 /games-puzzle/londonlaw/files
parentmedia-video/fenice and media-video/nemesi p.mask (diff)
downloadhistorical-ccf6dce04002c1ce9e9981a55a5b9c86d4048f20.tar.gz
historical-ccf6dce04002c1ce9e9981a55a5b9c86d4048f20.tar.bz2
historical-ccf6dce04002c1ce9e9981a55a5b9c86d4048f20.zip
Add patch to force wxpython 2.6 at runtime to prevent errors with multiple
version installs. (Bug #204347) Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'games-puzzle/londonlaw/files')
-rw-r--r--games-puzzle/londonlaw/files/digest-londonlaw-0.2.1-r13
-rw-r--r--games-puzzle/londonlaw/files/londonlaw-0.2.1-wxversion.patch15
2 files changed, 18 insertions, 0 deletions
diff --git a/games-puzzle/londonlaw/files/digest-londonlaw-0.2.1-r1 b/games-puzzle/londonlaw/files/digest-londonlaw-0.2.1-r1
new file mode 100644
index 000000000000..8b788a0c232f
--- /dev/null
+++ b/games-puzzle/londonlaw/files/digest-londonlaw-0.2.1-r1
@@ -0,0 +1,3 @@
+MD5 8e7b630de309c75edd07974ca2574c41 londonlaw-0.2.1.tar.gz 3139208
+RMD160 20a32d4b527b220a0ae0e261c5f84dd5563db7b2 londonlaw-0.2.1.tar.gz 3139208
+SHA256 e7453f2e261315384d991ecde31de16e0024fc5f14bacd4642e1daf5d9a4eb87 londonlaw-0.2.1.tar.gz 3139208
diff --git a/games-puzzle/londonlaw/files/londonlaw-0.2.1-wxversion.patch b/games-puzzle/londonlaw/files/londonlaw-0.2.1-wxversion.patch
new file mode 100644
index 000000000000..b323639afcd0
--- /dev/null
+++ b/games-puzzle/londonlaw/files/londonlaw-0.2.1-wxversion.patch
@@ -0,0 +1,15 @@
+--- londonlaw-0.2.1/londonlaw/guiclient/__init__.py 2005-07-05 18:45:05.000000000 -0600
++++ /usr/lib/python2.5/site-packages/londonlaw/guiclient/__init__.py 2008-01-04 17:13:46.000000000 -0600
+@@ -23,6 +23,12 @@
+
+ from twisted.internet import protocol, reactor
+ from twisted.python import log
++try:
++ import wxversion
++ wxversion.select("2.6")
++except Exception, e:
++ print >> sys.stderr, "%s: wxPython 2.6 not installed." %e
++ sys.exit(1)
+ from wxPython.wx import *
+ from ConnectWindow import *
+ from GameListWindow import *