From 2c904a3c1ce2ebef0a4dd0355b6163dc932d45d3 Mon Sep 17 00:00:00 2001 From: "Douglas E. Warner" Date: Mon, 22 Dec 2008 13:27:23 +0000 Subject: [PATCH] - adding patch to fix typedef problems in python build --- qgis-0.11-pyqt-sip-typedef.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 qgis-0.11-pyqt-sip-typedef.patch 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 = "" );