/[gentoo-x86]/dev-python/PyQt4/files/PyQt4-4.4_compile.patch
Gentoo

Contents of /dev-python/PyQt4/files/PyQt4-4.4_compile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download) (as text)
Sun Sep 6 23:03:32 2009 UTC (10 years, 8 months ago) by idl0r
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/x-diff
FILE REMOVED
Remove unused patch.

1 neurogeek 1.1 diff -ru PyQt-x11-gpl-4.4_old/designer/pluginloader.cpp PyQt-x11-gpl-4.4/designer/pluginloader.cpp
2     --- PyQt-x11-gpl-4.4_old/designer/pluginloader.cpp 2008-05-20 20:12:41.000000000 +0200
3     +++ PyQt-x11-gpl-4.4/designer/pluginloader.cpp 2008-05-20 20:13:37.000000000 +0200
4     @@ -280,7 +280,7 @@
5     // Return the named attribute object from the named module.
6     PyObject *PyCustomWidgets::getModuleAttr(const char *module, const char *attr)
7     {
8     -#if PY_VERSION_HEX >= 0x020500
9     +#if PY_VERSION_HEX >= 0x02050000
10     PyObject *mod = PyImport_ImportModule(module);
11     #else
12     PyObject *mod = PyImport_ImportModule(const_cast<char *>(module));
13     @@ -292,7 +292,7 @@
14     return 0;
15     }
16    
17     -#if PY_VERSION_HEX >= 0x020500
18     +#if PY_VERSION_HEX >= 0x02050000
19     PyObject *obj = PyObject_GetAttrString(mod, attr);
20     #else
21     PyObject *obj = PyObject_GetAttrString(mod, const_cast<char *>(attr));

  ViewVC Help
Powered by ViewVC 1.1.20