From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../libspatialindex/files/libspatialindex-1.8.1-QA.patch | 15 +++++++++++++++ .../files/libspatialindex-1.8.1-pkgconfig.patch | 16 ++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 sci-libs/libspatialindex/files/libspatialindex-1.8.1-QA.patch create mode 100644 sci-libs/libspatialindex/files/libspatialindex-1.8.1-pkgconfig.patch (limited to 'sci-libs/libspatialindex/files') diff --git a/sci-libs/libspatialindex/files/libspatialindex-1.8.1-QA.patch b/sci-libs/libspatialindex/files/libspatialindex-1.8.1-QA.patch new file mode 100644 index 000000000000..446452dc9ef1 --- /dev/null +++ b/sci-libs/libspatialindex/files/libspatialindex-1.8.1-QA.patch @@ -0,0 +1,15 @@ +--- spatialindex-src-1.8.0/configure.ac ++++ spatialindex-src-1.8.0/configure.ac +@@ -49,10 +49,10 @@ + AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging [default=$debug_default]],, enable_debug=$debug_default) + + if test "x$enable_debug" = "xyes"; then +- CXXFLAGS="$CXXFLAGS -g -DDEBUG" ++ CXXFLAGS="$CXXFLAGS -DDEBUG" + AC_MSG_RESULT(checking wether debug information is enabled... yes) + else +- CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG" ++ CXXFLAGS="$CXXFLAGS -DNDEBUG" + AC_MSG_RESULT(checking wether debug information is enabled... no) + fi + 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 +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@ + -- cgit v1.2.3