aboutsummaryrefslogtreecommitdiffstats
path: root/games/freedoko
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-11-26 23:43:20 +0800
committerwg <wg@FreeBSD.org>2013-11-26 23:43:20 +0800
commit025eda2b767163fec5a3a3effdabec24ca7d68e5 (patch)
tree782ccb76b16f192dd35e1be1eb1c1ed9537050a7 /games/freedoko
parentfa2bf89ccd7a69758776da8b4f80546a31b2928b (diff)
downloadfreebsd-ports-gnome-025eda2b767163fec5a3a3effdabec24ca7d68e5.tar.gz
freebsd-ports-gnome-025eda2b767163fec5a3a3effdabec24ca7d68e5.tar.zst
freebsd-ports-gnome-025eda2b767163fec5a3a3effdabec24ca7d68e5.zip
games/freedoko: fix build on current
PR: ports/184220 Submitted by: KATO Tsuguru <tkato432 yahoo.com>
Diffstat (limited to 'games/freedoko')
-rw-r--r--games/freedoko/Makefile1
-rw-r--r--games/freedoko/files/patch-src__freedoko.cpp10
2 files changed, 10 insertions, 1 deletions
diff --git a/games/freedoko/Makefile b/games/freedoko/Makefile
index bee3468c13aa..77554c04e381 100644
--- a/games/freedoko/Makefile
+++ b/games/freedoko/Makefile
@@ -12,7 +12,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Play the card game Doppelkopf
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/../COPYING
LIB_DEPENDS= libgnet-2.0.so:${PORTSDIR}/net/gnet2 \
libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24
diff --git a/games/freedoko/files/patch-src__freedoko.cpp b/games/freedoko/files/patch-src__freedoko.cpp
new file mode 100644
index 000000000000..2399ac40b95c
--- /dev/null
+++ b/games/freedoko/files/patch-src__freedoko.cpp
@@ -0,0 +1,10 @@
+--- freedoko.cpp.orig 2011-12-18 06:05:12.000000000 -0200
++++ freedoko.cpp 2013-11-26 13:40:09.390150518 -0200
+@@ -43,6 +43,7 @@
+ #else
+ // for 'mkdir'
+ #include <sys/stat.h>
++#include <unistd.h>
+ #endif
+
+ #include "class/getopt/getopt.h"