summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-04-22 19:29:26 +0000
committerhasso <hasso@pkgsrc.org>2009-04-22 19:29:26 +0000
commitd6f1ae4cbdadafa1b551f3c6dadf928b9f1c9b6f (patch)
treed267e38bfcd2ace8545717e9834d03cb522ca35c /games
parent2f723afb55381daaa3795c4ac5ee8e0915f5e314 (diff)
downloadpkgsrc-d6f1ae4cbdadafa1b551f3c6dadf928b9f1c9b6f.tar.gz
Make it build on DragonFly.
Diffstat (limited to 'games')
-rw-r--r--games/wesnoth/distinfo5
-rw-r--r--games/wesnoth/patches/patch-ae15
-rw-r--r--games/wesnoth/patches/patch-af12
-rw-r--r--games/wesnoth/patches/patch-ag13
4 files changed, 44 insertions, 1 deletions
diff --git a/games/wesnoth/distinfo b/games/wesnoth/distinfo
index 52960dd9086..ca9cf979af5 100644
--- a/games/wesnoth/distinfo
+++ b/games/wesnoth/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.34 2009/03/30 09:48:53 wiz Exp $
+$NetBSD: distinfo,v 1.35 2009/04/22 19:29:26 hasso Exp $
SHA1 (wesnoth-1.6.tar.bz2) = 81cd26bb147f413659e8862f4c21c03895407293
RMD160 (wesnoth-1.6.tar.bz2) = 4e1a19f3774eab59f67638a1f416ddfe09315790
@@ -7,3 +7,6 @@ SHA1 (patch-aa) = 1116614ffff2c00a9ab178617eb14cc2c7c89142
SHA1 (patch-ab) = a57f2d6656c7ac75d92055f4b6198aecc6fd243b
SHA1 (patch-ac) = 26f535c853163749597e82ead94263f3ac64acc4
SHA1 (patch-ad) = e2ad09e5961969f62538c0015653175af45bd61d
+SHA1 (patch-ae) = 76b7dc4e7d8dc9dac9464da5122edd801df8a752
+SHA1 (patch-af) = eaab066899206873d617da13d7fa8d3b566cff6d
+SHA1 (patch-ag) = 4eab46309e8ee2445d9d36ab052e458353837eba
diff --git a/games/wesnoth/patches/patch-ae b/games/wesnoth/patches/patch-ae
new file mode 100644
index 00000000000..069f8b69ed0
--- /dev/null
+++ b/games/wesnoth/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.5 2009/04/22 19:29:26 hasso Exp $
+
+--- src/network_worker.cpp.orig 2009-04-13 13:17:34 +0300
++++ src/network_worker.cpp 2009-04-13 13:18:38 +0300
+@@ -36,6 +36,10 @@
+ #include <cerrno>
+ #include <deque>
+
++#if defined(__FreeBSD__) || defined(__DragonFly__)
++#undef HAVE_SENDFILE
++#endif
++
+ #ifdef HAVE_SENDFILE
+ #include <sys/sendfile.h>
+ #include <netinet/in.h>
diff --git a/games/wesnoth/patches/patch-af b/games/wesnoth/patches/patch-af
new file mode 100644
index 00000000000..bdbc674b8ef
--- /dev/null
+++ b/games/wesnoth/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.3 2009/04/22 19:29:26 hasso Exp $
+
+--- src/preferences.cpp.orig 2009-04-13 06:03:51 +0300
++++ src/preferences.cpp 2009-04-13 06:04:17 +0300
+@@ -30,6 +30,7 @@
+ #include "serialization/parser.hpp"
+
+ #include <sys/stat.h> // for setting the permissions of the preferences file
++#include <unistd.h>
+
+ namespace {
+
diff --git a/games/wesnoth/patches/patch-ag b/games/wesnoth/patches/patch-ag
new file mode 100644
index 00000000000..8cb479297fc
--- /dev/null
+++ b/games/wesnoth/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.3 2009/04/22 19:29:26 hasso Exp $
+
+--- src/clipboard.cpp.orig 2009-04-13 05:58:47 +0300
++++ src/clipboard.cpp 2009-04-13 13:29:27 +0300
+@@ -25,6 +25,8 @@
+
+ #include "SDL_syswm.h"
+
++#include <unistd.h>
++
+ /**
+ The following are two classes which wrap the SDL's interface to X,
+ including locking/unlocking, and which manage the atom internment.