mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
php5: gd: do not link against libiconv (fixes #706)
This commit adds a patch to enforce the usage of an alternative code path, preventing the need of libiconv in the bundled libgd of php. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=php
|
PKG_NAME:=php
|
||||||
PKG_VERSION:=5.4.36
|
PKG_VERSION:=5.4.36
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
--- a/ext/gd/libgd/gdkanji.c
|
||||||
|
+++ b/ext/gd/libgd/gdkanji.c
|
||||||
|
@@ -9,6 +9,11 @@
|
||||||
|
#include "gdhelpers.h"
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
+
|
||||||
|
+/* force usage of internal conversation routine */
|
||||||
|
+#undef HAVE_ICONV_H
|
||||||
|
+#undef HAVE_ICONV
|
||||||
|
+
|
||||||
|
#if defined(HAVE_ICONV_H) || defined(HAVE_ICONV)
|
||||||
|
#include <iconv.h>
|
||||||
|
#ifdef HAVE_ERRNO_H
|
||||||
Reference in New Issue
Block a user