diff options
author | tron <tron> | 2001-06-30 16:56:30 +0000 |
---|---|---|
committer | tron <tron> | 2001-06-30 16:56:30 +0000 |
commit | bfc066f69a80dd3ac6b4573b107378bd3cd8f883 (patch) | |
tree | 283fd9c587f28a6a989f0aecd26fc4b11ad27e4b /finance/emma/patches/patch-ac | |
parent | dfc2421244eab827d1a5315adcd0d2ae6fc8e888 (diff) | |
download | pkgsrc-bfc066f69a80dd3ac6b4573b107378bd3cd8f883.tar.gz |
Fix loading of Python module "emma.py".
Diffstat (limited to 'finance/emma/patches/patch-ac')
-rw-r--r-- | finance/emma/patches/patch-ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/finance/emma/patches/patch-ac b/finance/emma/patches/patch-ac new file mode 100644 index 00000000000..dc278a60026 --- /dev/null +++ b/finance/emma/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.1 2001/06/30 16:56:31 tron Exp $ + +--- src/py_module.c.orig Wed Nov 1 09:10:18 2000 ++++ src/py_module.c Sat Jun 30 18:44:56 2001 +@@ -101,11 +101,7 @@ + strcat(tmp, "/.emma.py"); + py_module_include_file(tmp, FALSE); + +- py_module_include_file("/usr/share/emma.py", FALSE); +- py_module_include_file("/usr/local/share/emma.py", FALSE); +- +- py_module_include_file("/usr/share/emma/emma.py", FALSE); +- py_module_include_file("/usr/local/share/emma/emma.py", FALSE); ++ py_module_include_file(PREFIX "/share/emma/emma.py", FALSE); + } + + void py_module_redirect_stderr(void) |