diff options
author | Remi Collet <fedora@famillecollet.com> | 2011-08-09 18:00:05 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2011-08-09 18:00:05 +0200 |
commit | 20f5e2c34d7a6714c59c660704414d2d1b1258af (patch) | |
tree | 8c91707e0761c5c10b99d0e4351910e591d9a487 | |
parent | 98f376c4ae19dd44c791c48a49f04030558d914a (diff) |
unbound, sinc with rawhide
-rw-r--r-- | unbound-1.4.12-pythonmod.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/unbound-1.4.12-pythonmod.patch b/unbound-1.4.12-pythonmod.patch new file mode 100644 index 0000000..7bc9927 --- /dev/null +++ b/unbound-1.4.12-pythonmod.patch @@ -0,0 +1,11 @@ +--- pythonmod/pythonmod.c.orig 2011-08-08 20:45:48.344987246 +0200 ++++ pythonmod/pythonmod.c 2011-08-08 21:31:41.429025557 +0200 +@@ -153,6 +153,8 @@ + } + PyRun_SimpleString("sys.path.append('"RUN_DIR"') \n"); + PyRun_SimpleString("sys.path.append('"SHARE_DIR"') \n"); ++ PyRun_SimpleString("import sysconfig \n"); ++ PyRun_SimpleString("sys.path.append(sysconfig.get_path('purelib')) \n"); + if (PyRun_SimpleString("from unboundmodule import *\n") < 0) + { + log_err("pythonmod: cannot initialize core module: unboundmodule.py"); |