summaryrefslogtreecommitdiff
path: root/openwrt/package/libpng/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-05-05 00:05:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-05-05 00:05:13 +0000
commit6afedc7e6a637ebaf43d5aac7941758b668b96fb (patch)
tree2c036e2d1fc0d8dc2059915d31cec2cd92743cf4 /openwrt/package/libpng/patches
parent39b4d40f7772a9e52adb5da9ba4c9a2c2b2896e6 (diff)
downloadmtk-20170518-6afedc7e6a637ebaf43d5aac7941758b668b96fb.zip
mtk-20170518-6afedc7e6a637ebaf43d5aac7941758b668b96fb.tar.gz
mtk-20170518-6afedc7e6a637ebaf43d5aac7941758b668b96fb.tar.bz2
add libpng
SVN-Revision: 801
Diffstat (limited to 'openwrt/package/libpng/patches')
-rw-r--r--openwrt/package/libpng/patches/100-config_fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/openwrt/package/libpng/patches/100-config_fix.patch b/openwrt/package/libpng/patches/100-config_fix.patch
new file mode 100644
index 0000000..453d271
--- /dev/null
+++ b/openwrt/package/libpng/patches/100-config_fix.patch
@@ -0,0 +1,19 @@
+--- libpng3-1.2.5.0.orig/scripts/libpng-config-body.in
++++ libpng3-1.2.5.0/scripts/libpng-config-body.in
+@@ -83,6 +83,7 @@
+
+ --static)
+ R_opts=""
++ libs=${all_libs}
+ ;;
+
+ *)
+--- libpng3-1.2.5.0.orig/scripts/libpng.pc.in
++++ libpng3-1.2.5.0/scripts/libpng.pc.in
+@@ -7,5 +7,5 @@
+ Name: libpng12
+ Description: Loads and saves PNG files
+ Version: 1.2.8
+-Libs: -L${libdir} -lpng12 -lz -lm
++Libs: -lpng12
+ Cflags: -I${includedir}/libpng12