summaryrefslogtreecommitdiff
path: root/community/gen2shp/link.patch
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-18 12:24:09 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-18 12:24:09 +0100
commitd697117f3e2c400f8a7cae7bbbbf27166edc277a (patch)
tree1c8abf51bb3cdc03b79f7f0808426c9365163aa3 /community/gen2shp/link.patch
parentb97f2d43a72aa2e596e6f2c8ba5c998da44a9787 (diff)
Fix shapelib and gen2shp.
Diffstat (limited to 'community/gen2shp/link.patch')
-rw-r--r--community/gen2shp/link.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/gen2shp/link.patch b/community/gen2shp/link.patch
new file mode 100644
index 000000000..71e40de1b
--- /dev/null
+++ b/community/gen2shp/link.patch
@@ -0,0 +1,11 @@
+--- gen2shp-0.3.1/Makefile.orig 2013-03-18 12:20:49.925820131 +0100
++++ gen2shp-0.3.1/Makefile 2013-03-18 12:20:57.757895932 +0100
+@@ -10,7 +10,7 @@
+ $(CC) -c utils.c
+
+ gen2shp: gen2shp.c utils.o
+- $(CC) $(CFLAGS) -o $@ -lshp gen2shp.c utils.o
++ $(CC) $(CFLAGS) -o $@ gen2shp.c utils.o -lshp
+
+ test: gen2shp
+ rm -f pnttest.dbf pnttest.shp pnttest.shx