freebsd-ports/devel/kdebindings4-python-pykde4/files/patch-__init__.py
Alberto Villa a2d3b5a4bc The KDE/FreeBSD team is pleased to announce KDE Software Compilation
4.7.2. The official release notes can be found at:
http://kde.org/announcements/announce-4.7.2.php
This release ships with many improvements. Read more about them here:
http://FreeBSD.kde.org/news.php#itemKDESC472availableinports

We'd like to say thanks to all testers and contributors, especially to
lwhsu@ for his effort on hosting our test packages.

PR:		156293 [1]
		159219 [2]
		160164 [3]
Submitted by:	Oleg Sidorkin <osidorkin@gmail.com> [1]
		Alvaro Castillo <gobledb@gmail.com> [2]
		dkeav04@gmail.com [3]
Tested by:	exp-run via pav
2011-10-17 00:03:42 +00:00

10 lines
373 B
Python

--- ./__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)