aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit3104a0eeebc07b3d01f3ef4f1eeb2de728378ecc (patch)
tree91fd8eea3e813dc8d3a834ad1a47ab1a422b125b /package/libpng/patches
parent4bb2c27c5d5f31a497367e66bb62538aa9881576 (diff)
downloadmaster-187ad058-3104a0eeebc07b3d01f3ef4f1eeb2de728378ecc.tar.gz
master-187ad058-3104a0eeebc07b3d01f3ef4f1eeb2de728378ecc.tar.bz2
master-187ad058-3104a0eeebc07b3d01f3ef4f1eeb2de728378ecc.zip
add libpng
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@801 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libpng/patches')
-rw-r--r--package/libpng/patches/100-config_fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/libpng/patches/100-config_fix.patch b/package/libpng/patches/100-config_fix.patch
new file mode 100644
index 0000000000..453d271096
--- /dev/null
+++ b/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