Salome HOME
SALOME 6.5.0 preparation: add patch for OCCT 6.5.3
[tools/install.git] / config_files / patches / PyQt-4.9.1.patch
1 diff -Naur --exclude=CVS PyQt-4.9.1_SRC.orig/sip/QtDBus/qpydbuspendingreply.sip PyQt-4.9.1_SRC/sip/QtDBus/qpydbuspendingreply.sip
2 --- PyQt-4.9.1_SRC.orig/sip/QtDBus/qpydbuspendingreply.sip      2012-02-10 14:35:14.000000000 +0400
3 +++ PyQt-4.9.1_SRC/sip/QtDBus/qpydbuspendingreply.sip   2012-04-04 15:21:35.000000000 +0400
4 @@ -23,6 +23,8 @@
5  // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
6  
7  
8 +%If (Qt_4_7_0 -)
9 +
10  class QPyDBusPendingReply : QDBusPendingCall /PyName=QDBusPendingReply/
11  {
12  %TypeHeaderCode
13 @@ -47,3 +49,5 @@
14  
15      SIP_PYOBJECT value(SIP_PYOBJECT type /DocValue="None"/ = 0) const /HoldGIL/;
16  };
17 +
18 +%End
19 diff -Naur --exclude=CVS PyQt-4.9.1_SRC.orig/sip/QtDBus/qpydbusreply.sip PyQt-4.9.1_SRC/sip/QtDBus/qpydbusreply.sip
20 --- PyQt-4.9.1_SRC.orig/sip/QtDBus/qpydbusreply.sip     2012-02-10 14:35:14.000000000 +0400
21 +++ PyQt-4.9.1_SRC/sip/QtDBus/qpydbusreply.sip  2012-04-04 15:21:40.000000000 +0400
22 @@ -23,6 +23,8 @@
23  // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
24  
25  
26 +%If (Qt_4_7_0 -)
27 +
28  class QPyDBusReply /PyName=QDBusReply/
29  {
30  %TypeHeaderCode
31 @@ -241,3 +243,5 @@
32      return 0;
33  %End
34  };
35 +
36 +%End