Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games/wesnoth: update to 1.16.10 release, support Boost-1.83.0 (+)
Release Notes: https://www.wesnoth.org/start/1.16/ Changelog: https://github.com/wesnoth/wesnoth/blob/1.16/changelog.md
- Loading branch information
Showing
3 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1681753961 | ||
SHA256 (wesnoth-1.16.9.tar.bz2) = 3ded6938fb24100b9884ab5a902711f6c7a25cef65aafddb3e3b8a15b7652386 | ||
SIZE (wesnoth-1.16.9.tar.bz2) = 476167874 | ||
TIMESTAMP = 1695160694 | ||
SHA256 (wesnoth-1.16.10.tar.bz2) = a60521b1ee1c2ddc7dfde89a038b893a4b43337085bd1478f4bc92dab7da7fc7 | ||
SIZE (wesnoth-1.16.10.tar.bz2) = 476195873 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 136e651d69fc91fa7a4154f8a4a7e977cc46eca4 Mon Sep 17 00:00:00 2001 | ||
From: Pentarctagon <pentarctagon@tutamail.com> | ||
Date: Thu, 17 Aug 2023 23:19:21 -0500 | ||
Subject: [PATCH] Compile fix for boost 1.83. | ||
|
||
Fixes #7849 | ||
--- | ||
src/gettext.cpp | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git src/gettext.cpp src/gettext.cpp | ||
index 9888dede35ad..fa9b17ba85b2 100644 | ||
--- src/gettext.cpp | ||
+++ src/gettext.cpp | ||
@@ -169,7 +169,11 @@ namespace | ||
return msg; | ||
} | ||
|
||
+#if BOOST_VERSION < 108300 | ||
const char* get(int domain_id, const char* ctx, const char* sid, int n) const override | ||
+#else | ||
+ const char* get(int domain_id, const char* ctx, const char* sid, bl::count_type n) const override | ||
+#endif | ||
{ | ||
auto& base = get_base(); | ||
const char* msg = base.get(domain_id, ctx, sid, n); |