diff --git a/qgis-0.11-pyqt-sip-typedef.patch b/qgis-0.11-pyqt-sip-typedef.patch new file mode 100644 index 0000000..8d328be --- /dev/null +++ b/qgis-0.11-pyqt-sip-typedef.patch @@ -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 > > 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 = "" );