summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Balistreri <brain@gentoo.org>2003-04-12 14:12:14 +0000
committerMichele Balistreri <brain@gentoo.org>2003-04-12 14:12:14 +0000
commit8cde752153eb267120d59a1e4e2222e7677264d7 (patch)
treeea86eed7e6f8a00266857f4b2c0c35c6e17ca2e0 /dev-python/PyQt/files
parentslocate (diff)
downloadgentoo-2-8cde752153eb267120d59a1e4e2222e7677264d7.tar.gz
gentoo-2-8cde752153eb267120d59a1e4e2222e7677264d7.tar.bz2
gentoo-2-8cde752153eb267120d59a1e4e2222e7677264d7.zip
Fix bug #19008
Diffstat (limited to 'dev-python/PyQt/files')
-rw-r--r--dev-python/PyQt/files/license-3.5.diff34
-rw-r--r--dev-python/PyQt/files/qt3.1.2-compilation-fix-3.5.diff77
2 files changed, 77 insertions, 34 deletions
diff --git a/dev-python/PyQt/files/license-3.5.diff b/dev-python/PyQt/files/license-3.5.diff
deleted file mode 100644
index 82d3106b7212..000000000000
--- a/dev-python/PyQt/files/license-3.5.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- build.py.orig 2002-12-13 23:43:10.000000000 +0100
-+++ build.py 2002-12-13 23:43:23.000000000 +0100
-@@ -646,31 +646,6 @@
- licType = "GPL"
- licname = "GNU General Public License"
-
-- inform("This is the %s version of PyQt and is licensed under the %s." % (licType,licname),0)
--
-- print
-- print "Type 'L' to view the license."
-- print "Type 'yes' to accept the terms of the license."
-- print "Type 'no' to decline the terms of the license."
-- print
--
-- while 1:
-- try:
-- resp = raw_input("Do you accept the terms of the license? ")
-- except:
-- resp = ""
--
-- resp = resp.strip().lower()
--
-- if resp == "yes":
-- break
--
-- if resp == "no":
-- sys.exit(0)
--
-- if resp == "l":
-- os.system("more LICENSE")
--
- inform("Building the %s version of PyQt 3.5 for Python %s on %s." % (licType,pyFullVers,sys.platform))
-
- if licType != "GPL":
diff --git a/dev-python/PyQt/files/qt3.1.2-compilation-fix-3.5.diff b/dev-python/PyQt/files/qt3.1.2-compilation-fix-3.5.diff
new file mode 100644
index 000000000000..03eff43eb5f1
--- /dev/null
+++ b/dev-python/PyQt/files/qt3.1.2-compilation-fix-3.5.diff
@@ -0,0 +1,77 @@
+--- build.py.orig 2003-04-11 23:47:44.000000000 +0200
++++ build.py 2003-04-11 23:50:31.000000000 +0200
+@@ -646,31 +646,6 @@
+ licType = "GPL"
+ licname = "GNU General Public License"
+
+- inform("This is the %s version of PyQt and is licensed under the %s." % (licType,licname),0)
+-
+- print
+- print "Type 'L' to view the license."
+- print "Type 'yes' to accept the terms of the license."
+- print "Type 'no' to decline the terms of the license."
+- print
+-
+- while 1:
+- try:
+- resp = raw_input("Do you accept the terms of the license? ")
+- except:
+- resp = ""
+-
+- resp = resp.strip().lower()
+-
+- if resp == "yes":
+- break
+-
+- if resp == "no":
+- sys.exit(0)
+-
+- if resp == "l":
+- os.system("more LICENSE")
+-
+ inform("Building the %s version of PyQt 3.5 for Python %s on %s." % (licType,pyFullVers,sys.platform))
+
+ if licType != "GPL":
+@@ -1382,7 +1357,8 @@
+ 0x030006: "Qt_3_0_5",
+ 0x030100: "Qt_3_0_6",
+ 0x030101: "Qt_3_1_0",
+- 0x040000: "Qt_3_1_1"
++ 0x030102: "Qt_3_1_1",
++ 0x040000: "Qt_3_1_2"
+ }
+
+ global qtVersion
+--- sip/qdatetimeedit.sip.orig 2003-04-11 16:46:14.000000000 +0200
++++ sip/qdatetimeedit.sip 2003-04-11 17:20:03.000000000 +0200
+@@ -1,7 +1,7 @@
+ // This is the SIP interface definition for QDateEdit, QDateTimeEdit and
+ // QTimeEdit.
+ //
+-// Copyright (c) 2002
++// Copyright (c) 2003
+ // Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+ //
+ // This file is part of PyQt.
+@@ -231,7 +231,9 @@
+ protected:
+ void init();
+ void resizeEvent(QResizeEvent *);
+- void layoutEditors();
++%If (- Qt_3_1_2)
++ void layoutEditors();
++%End
+
+ protected slots:
+ void newValue(const QDate &);
+--- sip/versions.sip.orig 2003-04-11 16:46:29.000000000 +0200
++++ sip/versions.sip 2003-04-11 16:46:41.000000000 +0200
+@@ -26,7 +26,7 @@
+ %Timeline {Qt_1_43
+ Qt_2_00 Qt_2_1_0 Qt_2_2_0 Qt_2_3_0 Qt_2_3_1
+ Qt_3_0_0 Qt_3_0_1 Qt_3_0_2 Qt_3_0_4 Qt_3_0_5 Qt_3_0_6
+- Qt_3_1_0 Qt_3_1_1}
++ Qt_3_1_0 Qt_3_1_1 Qt_3_1_2}
+
+
+ // Specify the platforms.