aboutsummaryrefslogtreecommitdiff
path: root/games/freedoko
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-11-26 15:43:20 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-11-26 15:43:20 +0000
commitb5344d80447116d12291928d87ae9bacd814c645 (patch)
tree782ccb76b16f192dd35e1be1eb1c1ed9537050a7 /games/freedoko
parent95f8285ce8e8a17eff121d1d3a3032c0ed877b01 (diff)
downloadports-b5344d80447116d12291928d87ae9bacd814c645.tar.gz
ports-b5344d80447116d12291928d87ae9bacd814c645.zip
games/freedoko: fix build on current
PR: ports/184220 Submitted by: KATO Tsuguru <tkato432 yahoo.com>
Notes
Notes: svn path=/head/; revision=334947
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"