pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/wesnoth Make it build on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85f9edde5963
branches:  trunk
changeset: 391953:85f9edde5963
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Wed Apr 22 19:29:26 2009 +0000

description:
Make it build on DragonFly.

diffstat:

 games/wesnoth/distinfo         |   5 ++++-
 games/wesnoth/patches/patch-ae |  15 +++++++++++++++
 games/wesnoth/patches/patch-af |  12 ++++++++++++
 games/wesnoth/patches/patch-ag |  13 +++++++++++++
 4 files changed, 44 insertions(+), 1 deletions(-)

diffs (68 lines):

diff -r f684181cc72d -r 85f9edde5963 games/wesnoth/distinfo
--- a/games/wesnoth/distinfo    Wed Apr 22 19:18:06 2009 +0000
+++ b/games/wesnoth/distinfo    Wed Apr 22 19:29:26 2009 +0000
@@ -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-ab) = a57f2d6656c7ac75d92055f4b6198aecc6fd243b
 SHA1 (patch-ac) = 26f535c853163749597e82ead94263f3ac64acc4
 SHA1 (patch-ad) = e2ad09e5961969f62538c0015653175af45bd61d
+SHA1 (patch-ae) = 76b7dc4e7d8dc9dac9464da5122edd801df8a752
+SHA1 (patch-af) = eaab066899206873d617da13d7fa8d3b566cff6d
+SHA1 (patch-ag) = 4eab46309e8ee2445d9d36ab052e458353837eba
diff -r f684181cc72d -r 85f9edde5963 games/wesnoth/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wesnoth/patches/patch-ae    Wed Apr 22 19:29:26 2009 +0000
@@ -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 -r f684181cc72d -r 85f9edde5963 games/wesnoth/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wesnoth/patches/patch-af    Wed Apr 22 19:29:26 2009 +0000
@@ -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 -r f684181cc72d -r 85f9edde5963 games/wesnoth/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wesnoth/patches/patch-ag    Wed Apr 22 19:29:26 2009 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index