summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pykde/files/pykde-3.7.4-sandbox-patch.diff')
-rw-r--r--dev-python/pykde/files/pykde-3.7.4-sandbox-patch.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/pykde/files/pykde-3.7.4-sandbox-patch.diff b/dev-python/pykde/files/pykde-3.7.4-sandbox-patch.diff
new file mode 100644
index 000000000000..c9d16fd0faf1
--- /dev/null
+++ b/dev-python/pykde/files/pykde-3.7.4-sandbox-patch.diff
@@ -0,0 +1,20 @@
+--- build.py.orig 2003-08-13 15:45:42.000000000 +0200
++++ build.py 2003-08-13 15:49:19.000000000 +0200
+@@ -624,7 +624,7 @@
+
+
+ def checkThreading ():
+- qtmodlib = modDir + '/libqtcmodule.so'
++ qtmodlib = sipModuleDir + '/libqtcmodule.so'
+ os.system ('ldd ' + qtmodlib + ' > lddtmp')
+ f = open ('lddtmp', 'r')
+ buff = f.read ()
+@@ -816,7 +816,7 @@
+ if sipModuleDir is None:
+ error("The SIP module/library could not be found. Use the -s argument to set the correct directory")
+
+- proPatches["LIBS"] = [re.compile("@BL_SIPMODDIR@",re.M), sipModuleDir]
++ proPatches["LIBS"] = [re.compile("@BL_SIPMODDIR@",re.M), (sipModuleDir + " -L" + modDir)]
+
+ inform("%s contains the SIP module." % (sipModuleDir))
+