summaryrefslogtreecommitdiff
path: root/games/pysolfc/patches
diff options
context:
space:
mode:
authorsnj <snj>2008-11-16 07:12:03 +0000
committersnj <snj>2008-11-16 07:12:03 +0000
commit0676bbec547491026fa481517fccb6c701bc5441 (patch)
treee95ed050a0aa9a920b2851bced1abe1d6075b9ff /games/pysolfc/patches
parentd366a833a7491c3b3b395c6dc8af522d4ebead86 (diff)
downloadpkgsrc-0676bbec547491026fa481517fccb6c701bc5441.tar.gz
Initial import of pysolfc-1.1, a continuation of the pysol package.
Diffstat (limited to 'games/pysolfc/patches')
-rw-r--r--games/pysolfc/patches/patch-aa12
-rw-r--r--games/pysolfc/patches/patch-ab16
2 files changed, 28 insertions, 0 deletions
diff --git a/games/pysolfc/patches/patch-aa b/games/pysolfc/patches/patch-aa
new file mode 100644
index 00000000000..0357cfbef40
--- /dev/null
+++ b/games/pysolfc/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/11/16 07:12:09 snj Exp $
+
+--- setup.py.orig 2008-11-15 13:57:18.000000000 -0800
++++ setup.py 2008-11-15 13:57:25.000000000 -0800
+@@ -44,7 +44,6 @@ if os.name == 'posix':
+ for l in ('ru', 'ru_RU'):
+ data_files.append(('share/locale/%s/LC_MESSAGES' % l,
+ ['locale/%s/LC_MESSAGES/pysol.mo' % l]))
+- data_files.append((data_dir, ['data/pysolfc.glade']))
+
+ ##from pprint import pprint; pprint(data_files)
+ ##import sys; sys.exit()
diff --git a/games/pysolfc/patches/patch-ab b/games/pysolfc/patches/patch-ab
new file mode 100644
index 00000000000..3f1f1b49bc5
--- /dev/null
+++ b/games/pysolfc/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/11/16 07:12:09 snj Exp $
+
+--- pysollib/settings.py.orig 2008-11-15 13:04:30.000000000 -0800
++++ pysollib/settings.py 2008-11-15 13:05:05.000000000 -0800
+@@ -57,10 +57,7 @@ DATA_DIRS = []
+ # you can add your extra directories here
+ if os.name == 'posix':
+ DATA_DIRS = [
+- '/usr/share/PySolFC',
+- '/usr/local/share/PySolFC',
+- '/usr/games/PySolFC',
+- '/usr/local/games/PySolFC',
++ '@DATADIR@'
+ ]
+ if os.name == 'nt':
+ pass