aboutsummaryrefslogtreecommitdiffstats
path: root/devel/allegro-devel
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 /devel/allegro-devel
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 'devel/allegro-devel')
-rw-r--r--devel/allegro-devel/Makefile4
-rw-r--r--devel/allegro-devel/files/patch-loadpng.c10
2 files changed, 12 insertions, 2 deletions
diff --git a/devel/allegro-devel/Makefile b/devel/allegro-devel/Makefile
index 9ffae9663b9d..3ee717d96442 100644
--- a/devel/allegro-devel/Makefile
+++ b/devel/allegro-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= allegro
DISTVERSION= 4.4.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/alleg/allegro/${PORTVERSION}
PKGNAMESUFFIX= -devel
@@ -41,7 +41,7 @@ PORTSCOUT= limit:^4\.3\.[0-9]*
CFLAGS+= -L${LOCALBASE}/lib
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib \
jack.0:${PORTSDIR}/audio/jack \
- png.6:${PORTSDIR}/graphics/png
+ png15:${PORTSDIR}/graphics/png
post-install:
@cd ${WRKSRC}/docs/man/ && \
${FIND} . -type f -and -name "*.3" -exec ${INSTALL_MAN} {} ${PREFIX}/man/man3/{} \;
diff --git a/devel/allegro-devel/files/patch-loadpng.c b/devel/allegro-devel/files/patch-loadpng.c
new file mode 100644
index 000000000000..6243d8e18ac1
--- /dev/null
+++ b/devel/allegro-devel/files/patch-loadpng.c
@@ -0,0 +1,10 @@
+--- addons/loadpng/loadpng.c.orig 2010-03-03 04:18:36.000000000 +0100
++++ addons/loadpng/loadpng.c 2012-04-25 19:36:29.000000000 +0200
+@@ -6,6 +6,7 @@
+
+
+ #include <png.h>
++#include <zlib.h>
+ #include <allegro.h>
+ #include <allegro/internal/aintern.h>
+ #include "loadpng.h"