diff options
author | joerg <joerg@pkgsrc.org> | 2019-12-19 22:16:34 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2019-12-19 22:16:34 +0000 |
commit | 4c9d1e60abea72bced48b0047f3f51df065087c9 (patch) | |
tree | 799e3d5b5444c161e1a0aaea608434878313b310 /games | |
parent | 3e2b80aafbe709beb129f7e0bdad0bcf3c7c9cb1 (diff) | |
download | pkgsrc-4c9d1e60abea72bced48b0047f3f51df065087c9.tar.gz |
When using std::setlocale, also include <clocale> on all systems.
Diffstat (limited to 'games')
-rw-r--r-- | games/widelands/distinfo | 3 | ||||
-rw-r--r-- | games/widelands/patches/patch-src_base_i18n.cc | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/games/widelands/distinfo b/games/widelands/distinfo index e8024a9663f..3e787481a1b 100644 --- a/games/widelands/distinfo +++ b/games/widelands/distinfo @@ -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 @@ SHA512 (widelands-build20.tar.bz2) = 25280db6a57adeb37d13db35ce9eb41a5478534b047 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 --git a/games/widelands/patches/patch-src_base_i18n.cc b/games/widelands/patches/patch-src_base_i18n.cc new file mode 100644 index 00000000000..88886703f4f --- /dev/null +++ b/games/widelands/patches/patch-src_base_i18n.cc @@ -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> |