summaryrefslogtreecommitdiffstats
path: root/extra/pyqt/fix-kdebindings-4.5.2.patch
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-10-07 11:07:10 +0200
committersibel <lesibel at free dot fr>2010-10-07 11:07:10 +0200
commitb923632d78183ad0bbe134ea7f65eac23e1487ea (patch)
tree508dce8df0a05bb3cbd0a556543651be3cfd768c /extra/pyqt/fix-kdebindings-4.5.2.patch
parent79afcfb7cc5e44faa9743c40b3463e2c09e71c27 (diff)
downloadnutyx-pakxe-b923632d78183ad0bbe134ea7f65eac23e1487ea.tar.gz
nutyx-pakxe-b923632d78183ad0bbe134ea7f65eac23e1487ea.tar.bz2
nutyx-pakxe-b923632d78183ad0bbe134ea7f65eac23e1487ea.tar.xz
nutyx-pakxe-b923632d78183ad0bbe134ea7f65eac23e1487ea.zip
maj de pyqt#4.7.7-2
Diffstat (limited to 'extra/pyqt/fix-kdebindings-4.5.2.patch')
-rw-r--r--extra/pyqt/fix-kdebindings-4.5.2.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/pyqt/fix-kdebindings-4.5.2.patch b/extra/pyqt/fix-kdebindings-4.5.2.patch
new file mode 100644
index 000000000..49a915f09
--- /dev/null
+++ b/extra/pyqt/fix-kdebindings-4.5.2.patch
@@ -0,0 +1,17 @@
+--- sip/QtCore/qglobal.sip~ 2010-09-20 15:10:28.000000000 +0200
++++ sip/QtCore/qglobal.sip 2010-09-30 15:00:13.804577344 +0200
+@@ -312,12 +312,12 @@ public:
+ // Qt.Alignment class.
+ QFlags operator|(int f);
+ %MethodCode
+- sipRes = new QFlags(*a0 | (ENUM(a1)));
++ sipRes = new QFlags(*a0 | a1);
+ %End
+
+ QFlags operator^(int f);
+ %MethodCode
+- sipRes = new QFlags(*a0 ^ (ENUM(a1)));
++ sipRes = new QFlags(*a0 ^ a1);
+ %End
+
+ // These are necessary to prevent Python comparing object IDs.