From cf75d8a0f975d646d6d1173561cd52c5184a15f2 Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Tue, 11 Apr 2017 23:31:34 +0200 Subject: [PATCH] php7: fix bind_textdomain_codeset detection (refs #4250) The gettext extension is only useful when linked against libintl-full package, however, the detection did not work sucessfully. This patch by @Dimazhan fixes this. Signed-off-by: Michael Heimpold --- lang/php7/Makefile | 2 +- lang/php7/patches/1006-fix-gettext.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 lang/php7/patches/1006-fix-gettext.patch diff --git a/lang/php7/Makefile b/lang/php7/Makefile index 73ced0673..f9ef6a166 100644 --- a/lang/php7/Makefile +++ b/lang/php7/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=php PKG_VERSION:=7.1.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Michael Heimpold diff --git a/lang/php7/patches/1006-fix-gettext.patch b/lang/php7/patches/1006-fix-gettext.patch new file mode 100644 index 000000000..05d1ce9e0 --- /dev/null +++ b/lang/php7/patches/1006-fix-gettext.patch @@ -0,0 +1,11 @@ +--- a/ext/gettext/config.m4 ++++ b/ext/gettext/config.m4 +@@ -32,3 +32,2 @@ + ) +- LDFLAGS=$O_LDFLAGS + +@@ -48,3 +48,4 @@ + AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, bind_textdomain_codeset, [AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET, 1, [ ])]) ++ LDFLAGS=$O_LDFLAGS + + fi