- adding patch to fix typedef problems in python build

This commit is contained in:
Douglas E. Warner 2008-12-22 13:27:23 +00:00
parent e5c38315e0
commit 2c904a3c1c

View 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 = "" );