summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libspatialindex/files/libspatialindex-1.8.1-pkgconfig.patch')
-rw-r--r--sci-libs/libspatialindex/files/libspatialindex-1.8.1-pkgconfig.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-libs/libspatialindex/files/libspatialindex-1.8.1-pkgconfig.patch b/sci-libs/libspatialindex/files/libspatialindex-1.8.1-pkgconfig.patch
new file mode 100644
index 000000000000..a17aa80926b1
--- /dev/null
+++ b/sci-libs/libspatialindex/files/libspatialindex-1.8.1-pkgconfig.patch
@@ -0,0 +1,16 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Jun 30 19:10:57 UTC 2013
+Subject: remove LDFLAGS from Libs field
+
+https://github.com/libspatialindex/libspatialindex/issues/23
+
+--- spatialindex-src-1.8.1/src/libspatialindex.pc.in
++++ spatialindex-src-1.8.1/src/libspatialindex.pc.in
+@@ -7,6 +7,6 @@
+ Description: Generic C/C++ library for spatial indexing
+ Requires:
+ Version: @PACKAGE_VERSION@
+-Libs: -L@libdir@ @LDFLAGS@
++Libs: -L@libdir@
+ Cflags: -I${includedir}/spatialindex @CFLAGS@ @CPPFLAGS@
+