Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-pyqwt: add patch to update for modern SIP
Hopefully addresses https://trac.macports.org/ticket/58064
- Loading branch information
Showing
2 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
python/py-pyqwt/files/patch-sip_qwt5qt4_QwtModule.sip.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- sip/iqt5qt4/IQtModule.sip.orig | ||
+++ sip/iqt5qt4/IQtModule.sip | ||
@@ -29,7 +29,7 @@ | ||
// PyQwt becomes a free plug-in for a non-free program. | ||
|
||
|
||
-%Module PyQt4.Qwt5._iqt 0 | ||
+%Module(name=PyQt4.Qwt5._iqt) | ||
|
||
%ModuleCode | ||
#include <qcoreapplication.h> | ||
--- sip/qwt5qt4/QwtModule.sip.orig | ||
+++ sip/qwt5qt4/QwtModule.sip | ||
@@ -29,7 +29,7 @@ | ||
// PyQwt becomes a free plug-in for a non-free program. | ||
|
||
|
||
-%Module PyQt4.Qwt5.Qwt 0 | ||
+%Module(name=PyQt4.Qwt5.Qwt) | ||
|
||
%Timeline {Qwt_5_0_0 Qwt_5_0_1 Qwt_5_0_3 Qwt_5_1_0 Qwt_5_1_1 Qwt_5_2_0} | ||
|
||
@@ -49,7 +49,7 @@ | ||
%End // HAS_QWT_SVG | ||
|
||
|
||
-%Include QwtTypes.sip | ||
+ // %Include QwtTypes.sip | ||
|
||
%ModuleHeaderCode | ||
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) |