ports/devel/kdebindings4-python-pykde4/files/patch-python__pykde4____init__.py
Max Brazhnikov c4efb99db9 Update KDE ports to 4.2.3
See original release announcement for details:
http://kde.org/announcements/announce-4.2.3.php

New ports:

  devel/kdebindings4:
	Meta port of KDE bindings for C#, Java, PHP, Python and Ruby.
	Currently only Python bindings are supported.

  devel/kdebindings4-python, devel/kdebindings4-python-krosspython,
  devel/kdebindings4-python-pykde4:
	Python bindings for KDE.

  print/kdeutils4-printer-applet:
	printer-applet is a system tray utility. It shows current print jobs,
	shows printer warnings and errors and shows when printers that have
	been plugged in for the first time are being auto-configured by
	hal-cups-utils. It replaces kjobviewer in KDE 3.

  print/system-config-printer-kde
	A port of Gnome system-config-printer to KDE.
2009-05-09 19:38:16 +00:00

10 lines
401 B
Python

--- ./python/pykde4/__init__.py.orig 2008-07-22 04:00:52.000000000 +0400
+++ ./python/pykde4/__init__.py 2009-05-03 23:18:43.000000000 +0400
@@ -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)