summaryrefslogtreecommitdiff
path: root/openwrt/package/libpng/patches
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/libpng/patches')
-rw-r--r--openwrt/package/libpng/patches/100-config_fix.patch19
-rw-r--r--openwrt/package/libpng/patches/101-pkgconfig-install.patch21
2 files changed, 0 insertions, 40 deletions
diff --git a/openwrt/package/libpng/patches/100-config_fix.patch b/openwrt/package/libpng/patches/100-config_fix.patch
deleted file mode 100644
index 453d271..0000000
--- a/openwrt/package/libpng/patches/100-config_fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- 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
diff --git a/openwrt/package/libpng/patches/101-pkgconfig-install.patch b/openwrt/package/libpng/patches/101-pkgconfig-install.patch
deleted file mode 100644
index 7f362fb..0000000
--- a/openwrt/package/libpng/patches/101-pkgconfig-install.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- libpng-1.2.8-config/Makefile.in.orig 2004-12-03 01:14:51.000000000 +0100
-+++ libpng-1.2.8-config/Makefile.in 2005-05-18 14:17:31.000000000 +0200
-@@ -874,13 +874,13 @@
- cp libpng.pc libpng12.pc
-
- install-data-local: libpng.pc libpng12.pc
-- @INSTALL@ -d @PKGCONFIGDIR@
-- @INSTALL_DATA@ libpng.pc @PKGCONFIGDIR@
-- @INSTALL_DATA@ libpng12.pc @PKGCONFIGDIR@
-+ @INSTALL@ -d $(DESTDIR)@PKGCONFIGDIR@
-+ @INSTALL_DATA@ libpng.pc $(DESTDIR)@PKGCONFIGDIR@
-+ @INSTALL_DATA@ libpng12.pc $(DESTDIR)@PKGCONFIGDIR@
-
- uninstall-local:
-- rm -f @PKGCONFIGDIR@/libpng.pc
-- rm -f @PKGCONFIGDIR@/libpng12.pc
-+ rm -f $(DESTDIR)@PKGCONFIGDIR@/libpng.pc
-+ rm -f $(DESTDIR)@PKGCONFIGDIR@/libpng12.pc
-
- libpng-config:
- ( cat ${srcdir}/scripts/libpng-config-head.in; \