aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/png/Makefile3
-rw-r--r--graphics/png/distinfo6
-rw-r--r--graphics/png/files/patch-ab24
-rw-r--r--graphics/png/files/patch-ac13
4 files changed, 24 insertions, 22 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 059599edc9ab..b31e9a5fca22 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= png
-PORTVERSION= 1.2.8
-PORTREVISION= 3
+PORTVERSION= 1.2.12
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lib${PORTNAME}
diff --git a/graphics/png/distinfo b/graphics/png/distinfo
index 7cea73293c31..b2775835a44a 100644
--- a/graphics/png/distinfo
+++ b/graphics/png/distinfo
@@ -1,3 +1,3 @@
-MD5 (libpng-1.2.8.tar.bz2) = 00cea4539bea4bd34cbf8b82ff9589cd
-SHA256 (libpng-1.2.8.tar.bz2) = 9bec729a1e77d8bbc5800b14aa81f09290aa18daa40f344103f2c0d1d681531b
-SIZE (libpng-1.2.8.tar.bz2) = 384970
+MD5 (libpng-1.2.12.tar.bz2) = 2287cfaad53a714acdf6eb75a7c1d15f
+SHA256 (libpng-1.2.12.tar.bz2) = 7d06103ce32bffa39730d1c12c4b4dcfd50a8f1c18d2462807cfe7c0c3ca0e64
+SIZE (libpng-1.2.12.tar.bz2) = 621295
diff --git a/graphics/png/files/patch-ab b/graphics/png/files/patch-ab
index 749d314e0c43..ff3a31b6638f 100644
--- a/graphics/png/files/patch-ab
+++ b/graphics/png/files/patch-ab
@@ -1,10 +1,18 @@
---- scripts/libpng.pc.in.orig Sun Aug 15 16:15:22 2004
-+++ scripts/libpng.pc.in Fri Sep 3 07:09:49 2004
-@@ -7,5 +7,5 @@
- Name: libpng12
+--- scripts/libpng.pc.in.orig Wed Jun 28 00:22:40 2006
++++ scripts/libpng.pc.in Sun Jul 23 10:56:25 2006
+@@ -1,10 +1,10 @@
+-prefix=@prefix@
+-exec_prefix=@exec_prefix@
+-libdir=@libdir@
+-includedir=@includedir@/libpng12
++prefix=@PREFIX@
++exec_prefix=${prefix}
++libdir=${exec_prefix}/lib
++includedir=${prefix}/include
+
+ Name: libpng
Description: Loads and saves PNG files
- Version: 1.2.8
--Libs: -L${libdir} -lpng12 -lz -lm
--Cflags: -I${includedir}/libpng12
+ Version: 1.2.12
+-Libs: -L${libdir} -lpng12
+Libs: -L${libdir} -lpng -lz -lm
-+Cflags: -I${includedir}/libpng
+ Cflags: -I${includedir}
diff --git a/graphics/png/files/patch-ac b/graphics/png/files/patch-ac
index be538a4031c1..5666752ac236 100644
--- a/graphics/png/files/patch-ac
+++ b/graphics/png/files/patch-ac
@@ -1,21 +1,16 @@
--- scripts/libpng-config-body.in.orig Wed Sep 18 08:05:43 2002
-+++ scripts/libpng-config-body.in Sun Jan 30 17:31:12 2005
-@@ -77,12 +77,16 @@
++++ scripts/libpng-config-body.in Sun Jul 23 10:27:47 2006
+@@ -77,8 +77,12 @@
echo ${R_opts}
;;
+ --ldopts)
-+ echo ${ldopts}
++ echo ${ldopts}
+ ;;
+
--ldflags)
- echo ${ldflags} ${L_opts} ${R_opts} ${libs}
-+ echo ${ldopts} ${L_opts} ${R_opts} ${libs}
++ echo ${ldopts} ${L_opts} ${R_opts} ${libs}
;;
--static)
-- R_opts=""
-+ R_opts="-static"
- ;;
-
- *)