summaryrefslogtreecommitdiff
path: root/devel/py-pykde4/files/patch-__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pykde4/files/patch-__init__.py')
-rw-r--r--devel/py-pykde4/files/patch-__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/py-pykde4/files/patch-__init__.py b/devel/py-pykde4/files/patch-__init__.py
new file mode 100644
index 000000000000..aad9e5904c5b
--- /dev/null
+++ b/devel/py-pykde4/files/patch-__init__.py
@@ -0,0 +1,10 @@
+--- ./__init__.py.orig 2011-05-20 22:33:41.000000000 +0200
++++ ./__init__.py 2011-09-01 16:43:57.371033306 +0200
+@@ -1,4 +1,3 @@
+-import sys,DLFCN
++import sys, ctypes
+ # This is needed to ensure that dynamic_cast and RTTI works inside kdelibs.
+-sys.setdlopenflags(DLFCN.RTLD_NOW|DLFCN.RTLD_GLOBAL)
+-
+\ No newline at end of file
++sys.setdlopenflags(ctypes.RTLD_GLOBAL)