From 174bf5f9aac627cc5d5b6c2d4cb87d9e43056dd2 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Sun, 5 Sep 2021 17:30:01 +0200 Subject: [PATCH] wesnoth: update to 1.14.17 Add -UNDEBUG to compiler flags to override the cmake build style default. Wesnoth's compilation errors out if assertions are disabled. --- srcpkgs/wesnoth/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/wesnoth/template b/srcpkgs/wesnoth/template index e79d37bf6b34..0fcc09b29c10 100644 --- a/srcpkgs/wesnoth/template +++ b/srcpkgs/wesnoth/template @@ -1,6 +1,6 @@ # Template file for 'wesnoth' pkgname=wesnoth -version=1.14.16 +version=1.14.17 revision=1 build_style=cmake configure_args="-DENABLE_OMP=1" @@ -14,9 +14,12 @@ maintainer="Philipp Hirsch " license="GPL-2.0-or-later" homepage="https://wesnoth.org" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" -checksum=0f52d427e2fb58f4d1961847be4e3564a3c4ad78190042b6d04f83cedac030b5 +checksum=3646cba604e09c12d6900a733bcb78cbf05f2f75f05346630d6529c220f584e1 replaces="wesnoth-data>=0" +CFLAGS="-UNDEBUG" +CXXFLAGS="-UNDEBUG" + post_install() { # runit service vsv wesnothd