aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Demelier <markand@malikania.fr>2022-08-27 20:22:31 +0200
committeralice <alice@ayaya.dev>2022-08-27 20:51:33 +0000
commit0cc4663ceaf401478e7c4882ff559c0c321fb11e (patch)
tree988ef284697246a5af202f605603761898a5235a
parentbf633e926ae6930e6dc3ca2f3749e76df4334611 (diff)
downloadaports-0cc4663ceaf401478e7c4882ff559c0c321fb11e.tar.gz
aports-0cc4663ceaf401478e7c4882ff559c0c321fb11e.tar.bz2
aports-0cc4663ceaf401478e7c4882ff559c0c321fb11e.tar.xz
testing/wesnoth: upgrade to 1.16.5
-rw-r--r--testing/wesnoth/APKBUILD9
-rw-r--r--testing/wesnoth/fix-segfault.patch11
2 files changed, 3 insertions, 17 deletions
diff --git a/testing/wesnoth/APKBUILD b/testing/wesnoth/APKBUILD
index 92a98dc183..b488b38742 100644
--- a/testing/wesnoth/APKBUILD
+++ b/testing/wesnoth/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=wesnoth
-pkgver=1.16.2
+pkgver=1.16.5
_major=${pkgver%.*}
pkgrel=5
pkgdesc="turn-based strategy game in fantasy world"
@@ -24,9 +24,7 @@ makedepends="
sdl2_mixer-dev
"
subpackages="$pkgname-doc"
-source="https://sourceforge.net/projects/wesnoth/files/wesnoth-$_major/wesnoth-$pkgver/wesnoth-$pkgver.tar.bz2
- fix-segfault.patch
- "
+source="https://sourceforge.net/projects/wesnoth/files/wesnoth-$_major/wesnoth-$pkgver/wesnoth-$pkgver.tar.bz2"
options="!check" # No tests
build() {
@@ -47,6 +45,5 @@ package() {
}
sha512sums="
-bb1c307981de4990fc341310b358c5e1c54673d7434bc0a0fa0a7b5caf11e6db3255ad0eb57b6b188ff6ab8f287321fc8821813d0ef3661cfa637985070bb540 wesnoth-1.16.2.tar.bz2
-8fc0f43719d0a5b7554a027f4367d5c7459549741b82c3c879385dd5c8e10e96a2064f329090ac2a0a5e853d5591a7ecd0ce650748f597cd81a90fb7d11581ae fix-segfault.patch
+8abb1f31f9a4e503047e6f19ab6795e02fff287db5142a7395a5007fc8e12252014de5baff9419ef173316ebdb00f1492b78a26b2eae9f6e435d3112c1f05978 wesnoth-1.16.5.tar.bz2
"
diff --git a/testing/wesnoth/fix-segfault.patch b/testing/wesnoth/fix-segfault.patch
deleted file mode 100644
index 5574e899ea..0000000000
--- a/testing/wesnoth/fix-segfault.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/recall_list_manager.cpp
-+++ b/src/recall_list_manager.cpp
-@@ -57,7 +57,7 @@
- void recall_list_manager::erase_if_matches_id(const std::string &unit_id)
- {
- recall_list_.erase(std::remove_if(recall_list_.begin(), recall_list_.end(),
-- [&unit_id](const unit_ptr & ptr) { return ptr->id() == unit_id; }),
-+ [unit_id](const unit_ptr & ptr) { return ptr->id() == unit_id; }),
- recall_list_.end());
- }
-