From d6f1ae4cbdadafa1b551f3c6dadf928b9f1c9b6f Mon Sep 17 00:00:00 2001 From: hasso Date: Wed, 22 Apr 2009 19:29:26 +0000 Subject: Make it build on DragonFly. --- 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 deletion(-) create mode 100644 games/wesnoth/patches/patch-ae create mode 100644 games/wesnoth/patches/patch-af create mode 100644 games/wesnoth/patches/patch-ag (limited to 'games') 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 + #include + ++#if defined(__FreeBSD__) || defined(__DragonFly__) ++#undef HAVE_SENDFILE ++#endif ++ + #ifdef HAVE_SENDFILE + #include + #include 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 // for setting the permissions of the preferences file ++#include + + 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 ++ + /** + The following are two classes which wrap the SDL's interface to X, + including locking/unlocking, and which manage the atom internment. -- cgit v1.2.3