summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-17 20:15:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-17 20:15:46 +0100
commit777ba90340ac177369918daf0f66a27f97a8d911 (patch)
tree1e9245928fde6c38bc7ed19043f83e939a1d2f98
parent055a91209eea4512209445922055af125af2ab34 (diff)
fix musl compile
-rw-r--r--package/pcrepp/Makefile2
-rw-r--r--package/pcrepp/patches/patch-configure20
2 files changed, 20 insertions, 2 deletions
diff --git a/package/pcrepp/Makefile b/package/pcrepp/Makefile
index e96d04e38..5d662f20f 100644
--- a/package/pcrepp/Makefile
+++ b/package/pcrepp/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= pcrepp
PKG_VERSION:= 0.9.5
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 1fe6ea8e23ece01fde2ce5fb4746acc2
PKG_DESCR:= Cpp Wrapper classes for PCRE
PKG_SECTION:= libs
diff --git a/package/pcrepp/patches/patch-configure b/package/pcrepp/patches/patch-configure
index 0ee82218e..da7ab7b3e 100644
--- a/package/pcrepp/patches/patch-configure
+++ b/package/pcrepp/patches/patch-configure
@@ -1,5 +1,23 @@
--- pcre++-0.9.5.orig/configure 2004-08-25 01:38:03.000000000 +0200
-+++ pcre++-0.9.5/configure 2011-08-05 07:30:53.000000000 +0200
++++ pcre++-0.9.5/configure 2014-03-17 20:07:03.000000000 +0100
+@@ -3844,7 +3844,7 @@ irix5* | irix6* | nonstopux*)
+ ;;
+
+ # This must be Linux ELF.
+-linux-gnu*)
++linux-*)
+ case $host_cpu in
+ alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
+ lt_cv_deplibs_check_method=pass_all ;;
+@@ -6598,7 +6598,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
+ ;;
+
+ # This must be Linux ELF.
+-linux-gnu*)
++linux-*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
@@ -8612,7 +8612,7 @@ if test "x$with_pcre_include" = "x"; the
CPPFLAGS="$CPPFLAGS -I/include"
;;