diff options
Diffstat (limited to 'sci-libs/geos/files/geos-3.0.0_rc3-amd64.patch')
-rw-r--r-- | sci-libs/geos/files/geos-3.0.0_rc3-amd64.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sci-libs/geos/files/geos-3.0.0_rc3-amd64.patch b/sci-libs/geos/files/geos-3.0.0_rc3-amd64.patch new file mode 100644 index 000000000000..9376051ded4c --- /dev/null +++ b/sci-libs/geos/files/geos-3.0.0_rc3-amd64.patch @@ -0,0 +1,33 @@ +--- swig/geos.i.orig 2006-12-16 11:47:15.000000000 +0100 ++++ swig/geos.i 2006-12-16 11:48:33.000000000 +0100 +@@ -127,7 +127,7 @@ + + void checkCoordSeqBounds(const GEOSCoordSeq coordSeq, const size_t index) + { +- size_t size = 0; ++ unsigned int size = 0; + GEOSCoordSeq_getSize(coordSeq, &size); + + if (index < 0 || index >= size) +@@ -223,17 +223,17 @@ + return result; + } + +- int getSize() ++ unsigned int getSize() + { +- size_t result; ++ unsigned int result; + GEOSCoordSeq coords = (GEOSCoordSeq) self; + GEOSCoordSeq_getSize(coords, &result); + return result; + } + +- int getDimensions() ++ unsigned int getDimensions() + { +- size_t result; ++ unsigned int result; + GEOSCoordSeq coords = (GEOSCoordSeq) self; + GEOSCoordSeq_getDimensions(coords, &result); + return result; |