openbsd-ports/games/wesnoth/patches/patch-src_clipboard_cpp
kirby 72c46a20eb Update wesnoth to the latest release 1.10.1.
General difference (for ports infrastructure):
 - switch to cmake build system
 - drop external lua and use internal patched version
 - set SEPARATE_BUILD=flavored to avoid extracting a lot of data for every arch
 - removed superfluous dependency to devel/sdl
 - drop tinygui FLAVOR

Full changelog is here:
http://svn.gna.org/viewcvs/*checkout*/wesnoth/tags/1.10.0/changelog

OKs from jasper@ (maintainer), aja@, pascal@, cmake-wise OK from dcoppa@
Positive feedback from Antti Harri and Bryan Linton via ports@
2012-04-07 08:32:32 +00:00

12 lines
327 B
Plaintext

$OpenBSD: patch-src_clipboard_cpp,v 1.3 2012/04/07 08:32:32 kirby Exp $
--- src/clipboard.cpp.orig Sat Jan 7 06:35:17 2012
+++ src/clipboard.cpp Mon Feb 13 17:17:39 2012
@@ -18,6 +18,7 @@
#include "global.hpp"
#include "clipboard.hpp"
+#include <unistd.h>
#include <algorithm>
#if defined(_X11) && !defined(__APPLE__)