summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/python-tqt/python-tqt-14.0.0-ftbfs.patch
blob: 069111d3eff580e8393de8d4ac0e1fd47cec8ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip.ORI	2013-07-03 20:23:06.054830311 +0200
+++ trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip	2013-07-03 20:23:14.833911835 +0200
@@ -2196,7 +2196,7 @@
     // See if it is a TQt signal.
     if (*sig == '2')
     {
-        pyqt3TQtSignal *tab;
+        pyqt3QtSignal *tab;
 
         // Search the table.
         for (tab = ((pyqt3ClassTypeDef *)((sipWrapperType *)(self->ob_type))->type)->qt3_emit; tab->st_name != NULL; ++tab)
--- trinity-python-tqt-14.0.0~pre36+d3f27c3e/configure.py.ORI	2013-07-23 18:00:47.017942165 +0200
+++ trinity-python-tqt-14.0.0~pre36+d3f27c3e/configure.py	2013-07-23 18:01:40.757575552 +0200
@@ -321,6 +321,9 @@
                 makefile.extra_include_dirs.append(qt_dir + "/src/3rdparty/zlib")
             makefile.extra_include_dirs.append(os.path.join(src_dir, "pyuic3"))
             
+            if not os.access("pyuic3", os.F_OK):
+                os.mkdir("pyuic3")
+
             makefile.generate()
             tool_dirs.append("pyuic3")
 
@@ -350,6 +353,9 @@
 
             makefile.extra_include_dirs.append(os.path.join(src_dir, "pylupdate3"))
 
+            if not os.access("pylupdate3", os.F_OK):
+                os.mkdir("pylupdate3")
+
             makefile.generate()
             tool_dirs.append("pylupdate3")
         elif qt_version >= 0x020000: