aboutsummaryrefslogtreecommitdiff
path: root/games/xmoto
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /games/xmoto
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
- update png to 1.5.10
Notes
Notes: svn path=/head/; revision=297915
Diffstat (limited to 'games/xmoto')
-rw-r--r--games/xmoto/Makefile4
-rw-r--r--games/xmoto/files/patch-tim_png.cpp10
2 files changed, 12 insertions, 2 deletions
diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile
index 6f7ff5a86302..c61d8f836bf9 100644
--- a/games/xmoto/Makefile
+++ b/games/xmoto/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xmoto
PORTVERSION= 0.5.8
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://download.tuxfamily.org/xmoto/xmoto/${PORTVERSION}/ \
http://mirror.amdmi3.ru/distfiles/
@@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Challenging 2D motocross platform game
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg \
curl.6:${PORTSDIR}/ftp/curl \
xdg-basedir.2:${PORTSDIR}/x11/libxdg-basedir
diff --git a/games/xmoto/files/patch-tim_png.cpp b/games/xmoto/files/patch-tim_png.cpp
new file mode 100644
index 000000000000..b91bbbb515cb
--- /dev/null
+++ b/games/xmoto/files/patch-tim_png.cpp
@@ -0,0 +1,10 @@
+--- src/image/tim_png.cpp.orig 2012-04-25 06:16:33.000000000 +0200
++++ src/image/tim_png.cpp 2012-04-25 06:16:57.000000000 +0200
+@@ -26,6 +26,7 @@
+ #include <string.h>
+ #include "tim.h"
+ #include "png.h"
++#include "zlib.h"
+
+ /*==============================================================================
+ Types