summaryrefslogtreecommitdiff
path: root/games/eboard
diff options
context:
space:
mode:
Diffstat (limited to 'games/eboard')
-rw-r--r--games/eboard/Makefile4
-rw-r--r--games/eboard/files/patch-cimg.cc10
2 files changed, 13 insertions, 1 deletions
diff --git a/games/eboard/Makefile b/games/eboard/Makefile
index b3c1845ef47a..287d88227ede 100644
--- a/games/eboard/Makefile
+++ b/games/eboard/Makefile
@@ -7,7 +7,7 @@
PORTNAME= eboard
PORTVERSION= 1.1.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF \
SF/${PORTNAME}/eboard-extras/pack%201%20patchlevel%202/:p1 \
@@ -20,6 +20,8 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= johans@FreeBSD.org
COMMENT= GTK+ chess board interface (mainly for FICS and chessd)
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
+
EXTRAS= 1pl2 2
USE_BZIP2= yes
HAS_CONFIGURE= yes
diff --git a/games/eboard/files/patch-cimg.cc b/games/eboard/files/patch-cimg.cc
new file mode 100644
index 000000000000..476a4f82df2a
--- /dev/null
+++ b/games/eboard/files/patch-cimg.cc
@@ -0,0 +1,10 @@
+--- cimg.cc.orig 2008-02-22 16:51:22.000000000 +0100
++++ cimg.cc 2012-05-08 07:19:55.000000000 +0200
+@@ -27,6 +27,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <png.h>
++#include <pngpriv.h>
+ #include "cimg.h"
+
+ CImg::CImg(int w,int h) {