summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-12-16 11:11:54 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-12-16 11:11:54 +0000
commit5f1fe78d2e7da42a203401d1113c33c62ebb8dc0 (patch)
tree6c4e4b03211b81e967865d86a021709ae27f08aa /sci-libs/geos/files
parentInitial import (diff)
downloadgentoo-2-5f1fe78d2e7da42a203401d1113c33c62ebb8dc0.tar.gz
gentoo-2-5f1fe78d2e7da42a203401d1113c33c62ebb8dc0.tar.bz2
gentoo-2-5f1fe78d2e7da42a203401d1113c33c62ebb8dc0.zip
Added patch to fix #158262
(Portage version: 2.1.2_rc3)
Diffstat (limited to 'sci-libs/geos/files')
-rw-r--r--sci-libs/geos/files/geos-3.0.0_rc3-amd64.patch33
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;