pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/widelands When using std::setlocale, also includ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19ac7251bb44
branches:  trunk
changeset: 345850:19ac7251bb44
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 19 22:16:34 2019 +0000

description:
When using std::setlocale, also include <clocale> on all systems.

diffstat:

 games/widelands/distinfo                       |   3 ++-
 games/widelands/patches/patch-src_base_i18n.cc |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r ea7ddb97222d -r 19ac7251bb44 games/widelands/distinfo
--- a/games/widelands/distinfo  Thu Dec 19 22:16:05 2019 +0000
+++ b/games/widelands/distinfo  Thu Dec 19 22:16:34 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2019/09/03 20:27:02 adam Exp $
+$NetBSD: distinfo,v 1.3 2019/12/19 22:16:34 joerg Exp $
 
 SHA1 (widelands-build20.tar.bz2) = a2fdedf81c08fd08809b8556c955a6a7f32c1eed
 RMD160 (widelands-build20.tar.bz2) = 4adfa2f3ae2e4ceae7a04ca1162deed0f3e7632f
@@ -6,3 +6,4 @@
 Size (widelands-build20.tar.bz2) = 232364340 bytes
 SHA1 (patch-CMakeLists.txt) = 8b400bc5554964378275d304943e6489c82d9915
 SHA1 (patch-src_CMakeLists.txt) = 3d06616eefa3145ff0062c39b4ce026e0acad8c1
+SHA1 (patch-src_base_i18n.cc) = ed25d4bafc90c9bc52bb1636824f91b5734ff742
diff -r ea7ddb97222d -r 19ac7251bb44 games/widelands/patches/patch-src_base_i18n.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/widelands/patches/patch-src_base_i18n.cc    Thu Dec 19 22:16:34 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_base_i18n.cc,v 1.1 2019/12/19 22:16:34 joerg Exp $
+
+--- src/base/i18n.cc.orig      2019-12-19 15:58:00.820559242 +0000
++++ src/base/i18n.cc
+@@ -19,10 +19,7 @@
+ 
+ #include "base/i18n.h"
+ 
+-#ifdef __FreeBSD__
+ #include <clocale>
+-#endif
+-
+ #include <cstdlib>
+ #include <map>
+ #include <utility>



Home | Main Index | Thread Index | Old Index