summaryrefslogtreecommitdiff
path: root/sci-mathematics/p9m4/files/p9m4-v05-use-inst-paths.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /sci-mathematics/p9m4/files/p9m4-v05-use-inst-paths.patch
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'sci-mathematics/p9m4/files/p9m4-v05-use-inst-paths.patch')
-rw-r--r--sci-mathematics/p9m4/files/p9m4-v05-use-inst-paths.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/sci-mathematics/p9m4/files/p9m4-v05-use-inst-paths.patch b/sci-mathematics/p9m4/files/p9m4-v05-use-inst-paths.patch
deleted file mode 100644
index 5b48b94b27bf..000000000000
--- a/sci-mathematics/p9m4/files/p9m4-v05-use-inst-paths.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -Nur p9m4-0.5/files.py p9m4-0.5.new/files.py
---- p9m4-0.5/files.py 2008-01-14 23:31:00.000000000 +0000
-+++ p9m4-0.5.new/files.py 2008-01-14 23:39:51.000000000 +0000
-@@ -51,6 +51,9 @@
- return sys.path[0]
- # return os.path.dirname(os.path.abspath(sys.argv[0]))
-
-+def data_dir():
-+ return '/usr/share/p9m4'
-+
- def bin():
- if Win32():
- return 'bin-win32'
-@@ -63,13 +66,13 @@
- return 'bin'
-
- def bin_dir():
-- return os.path.join(program_dir(), bin())
-+ return '/usr/bin'
-
- def image_dir():
-- return os.path.join(program_dir(), 'Images')
-+ return os.path.join(data_dir(), 'Images')
-
- def sample_dir():
-- return os.path.join(program_dir(), 'Samples')
-+ return os.path.join(data_dir(), 'Samples')
-
- def binary_ok(fullpath):
- if not fullpath:
-diff -Nur p9m4-0.5/prover9-mace4.py p9m4-0.5.new/prover9-mace4.py
---- p9m4-0.5/prover9-mace4.py 2007-12-07 16:27:13.000000000 +0000
-+++ p9m4-0.5.new/prover9-mace4.py 2008-02-10 22:45:45.000000000 +0000
-@@ -27,6 +27,8 @@
-
- # local imports
-
-+sys.path.append('/usr/share/p9m4/lib')
-+
- import partition_input
- import utilities
- from files import *