- adding patch to fix typedef problems in python build
This commit is contained in:
parent
e5c38315e0
commit
2c904a3c1c
27
qgis-0.11-pyqt-sip-typedef.patch
Normal file
27
qgis-0.11-pyqt-sip-typedef.patch
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
Index: /trunk/qgis/python/core/qgsgeometry.sip
|
||||||
|
===================================================================
|
||||||
|
--- /trunk/qgis/python/core/qgsgeometry.sip (revision 9605)
|
||||||
|
+++ /trunk/qgis/python/core/qgsgeometry.sip (revision 9629)
|
||||||
|
@@ -15,4 +15,5 @@
|
||||||
|
typedef QVector< QVector< QVector<QgsPoint> > > QgsMultiPolygon;
|
||||||
|
|
||||||
|
+typedef unsigned int size_t;
|
||||||
|
|
||||||
|
class QgsGeometry
|
||||||
|
@@ -53,5 +54,4 @@
|
||||||
|
static QgsGeometry* fromRect(const QgsRectangle& rect) /Factory/;
|
||||||
|
|
||||||
|
- typedef unsigned int size_t;
|
||||||
|
|
||||||
|
|
||||||
|
Index: /trunk/qgis/python/core/qgsfeature.sip
|
||||||
|
===================================================================
|
||||||
|
--- /trunk/qgis/python/core/qgsfeature.sip (revision 9506)
|
||||||
|
+++ /trunk/qgis/python/core/qgsfeature.sip (revision 9629)
|
||||||
|
@@ -9,6 +9,4 @@
|
||||||
|
public:
|
||||||
|
|
||||||
|
- typedef unsigned int size_t;
|
||||||
|
-
|
||||||
|
//! Constructor
|
||||||
|
QgsFeature(int id = 0, QString typeName = "" );
|
Reference in New Issue
Block a user