summaryrefslogtreecommitdiffstats
path: root/package/gd
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-24 08:19:24 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-24 19:48:04 +0100
commitd50c7be769f078aa1e867b03d297777c89ae956c (patch)
treecfa99d42c7fef1c20060f63b098c4fa9966f89f7 /package/gd
parentc3cf74351daadf5f72481a74e7584071476dc05a (diff)
downloadbuildroot-novena-d50c7be769f078aa1e867b03d297777c89ae956c.tar.gz
buildroot-novena-d50c7be769f078aa1e867b03d297777c89ae956c.zip
gd: add patch to fix gdlib-config script
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gd')
-rw-r--r--package/gd/gd-gdlib-config.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/gd/gd-gdlib-config.patch b/package/gd/gd-gdlib-config.patch
new file mode 100644
index 000000000..bfff88bbc
--- /dev/null
+++ b/package/gd/gd-gdlib-config.patch
@@ -0,0 +1,32 @@
+Fix gdlib-config
+
+Since the @LIBICONV@ macro doesn't get replaced at compile time, we
+end up installing an invalid gdlib-config: the gdlib-config --libs
+says that one should link against @LIBICONV@ which obviously doesn't
+work.
+
+Use the OpenWRT patch from
+https://dev.openwrt.org/browser/packages/libs/gd/patches/101-gdlib-config.patch
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+--- a/config/gdlib-config.in
++++ b/config/gdlib-config.in
+@@ -71,7 +71,7 @@ while test $# -gt 0; do
+ echo @LDFLAGS@
+ ;;
+ --libs)
+- echo @LIBS@ @LIBICONV@
++ echo @LIBS@
+ ;;
+ --cflags|--includes)
+ echo -I@includedir@
+@@ -84,7 +84,7 @@ while test $# -gt 0; do
+ echo "includedir: $includedir"
+ echo "cflags: -I@includedir@"
+ echo "ldflags: @LDFLAGS@"
+- echo "libs: @LIBS@ @LIBICONV@"
++ echo "libs: @LIBS@"
+ echo "libdir: $libdir"
+ echo "features: @FEATURES@"
+ ;;