mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
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>
15 lines
309 B
Diff
15 lines
309 B
Diff
--- 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
|