openbsd-ports/games/wesnoth/patches/patch-src_preferences_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

13 lines
403 B
Plaintext

$OpenBSD: patch-src_preferences_cpp,v 1.3 2012/04/07 08:32:32 kirby Exp $
--- src/preferences.cpp.orig Sat Jan 7 06:35:17 2012
+++ src/preferences.cpp Mon Feb 13 17:17:39 2012
@@ -34,6 +34,8 @@
#include <sys/stat.h> // for setting the permissions of the preferences file
+#include <unistd.h>
+
static lg::log_domain log_filesystem("filesystem");
#define ERR_FS LOG_STREAM(err, log_filesystem)