diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile index 11ed001cbe8..87b11e436ef 100644 --- a/games/wesnoth/Makefile +++ b/games/wesnoth/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.29 2009/12/22 16:28:01 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.30 2010/07/21 16:21:54 landry Exp $ COMMENT= fantasy turn-based strategy game DISTNAME= wesnoth-1.6.5 -PKGNAME= ${DISTNAME}p0 +REVISION= 1 CATEGORIES= games x11 diff --git a/games/wesnoth/patches/patch-src_network_hpp b/games/wesnoth/patches/patch-src_network_hpp new file mode 100644 index 00000000000..1666ebe07e4 --- /dev/null +++ b/games/wesnoth/patches/patch-src_network_hpp @@ -0,0 +1,16 @@ +$OpenBSD: patch-src_network_hpp,v 1.1 2010/07/21 16:21:54 landry Exp $ +Make sure netinet/in.h is included before SDL_net.h to +avoid redefining INADDR_ANY/NONE/BROADCAST in SDL header +--- src/network.hpp.orig Sun Feb 22 02:27:50 2009 ++++ src/network.hpp Wed Jul 21 17:12:27 2010 +@@ -22,6 +22,10 @@ + + class config; + ++#include ++#include ++#include ++ + #include "SDL_net.h" + + #include