aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk26
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-06-01 13:26:28 +0800
committerdinoex <dinoex@FreeBSD.org>2012-06-01 13:26:28 +0800
commit530706893f31269bbfa303e069f2e76cbbe2fce7 (patch)
treea8077a0d6e20d70b39e6a7fe3e57a6dafe7c7f33 /x11-toolkits/wxgtk26
parent9d262811a145d3e715edefd1d5d64ceac41de547 (diff)
downloadfreebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.gz
freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.zst
freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.zip
- update png to 1.5.10
Diffstat (limited to 'x11-toolkits/wxgtk26')
-rw-r--r--x11-toolkits/wxgtk26/Makefile4
-rw-r--r--x11-toolkits/wxgtk26/files/patch-src-common-imagpng.cpp11
2 files changed, 13 insertions, 2 deletions
diff --git a/x11-toolkits/wxgtk26/Makefile b/x11-toolkits/wxgtk26/Makefile
index f5eee7e03819..a5a5da26419a 100644
--- a/x11-toolkits/wxgtk26/Makefile
+++ b/x11-toolkits/wxgtk26/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wx
PORTVERSION= 2.6.4
-PORTREVISION?= 5
+PORTREVISION?= 6
CATEGORIES= x11-toolkits
MASTER_SITES= SF/wxwindows/wxGTK/${PORTVERSION}
PKGNAMESUFFIX= ${WXGTK_FLAVOR}
@@ -16,7 +16,7 @@ DISTNAME= wxGTK-${PORTVERSION}
MAINTAINER?= fjoe@FreeBSD.org
COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings
-LIB_DEPENDS+= png.6:${PORTSDIR}/graphics/png\
+LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png\
jpeg.11:${PORTSDIR}/graphics/jpeg\
tiff.4:${PORTSDIR}/graphics/tiff\
expat.6:${PORTSDIR}/textproc/expat2\
diff --git a/x11-toolkits/wxgtk26/files/patch-src-common-imagpng.cpp b/x11-toolkits/wxgtk26/files/patch-src-common-imagpng.cpp
new file mode 100644
index 000000000000..82ef39ee5b90
--- /dev/null
+++ b/x11-toolkits/wxgtk26/files/patch-src-common-imagpng.cpp
@@ -0,0 +1,11 @@
+--- src/common/imagpng.cpp.orig 2007-03-20 16:50:01.000000000 +0100
++++ src/common/imagpng.cpp 2012-05-06 07:15:11.000000000 +0200
+@@ -528,7 +528,7 @@
+ png_structp png_ptr = png_create_read_struct
+ (
+ PNG_LIBPNG_VER_STRING,
+- (voidp) NULL,
++ NULL,
+ wx_png_error,
+ wx_png_warning
+ );