widelands: rebuild against icu-62.1

This commit is contained in:
maxice8 2018-08-28 07:17:18 -03:00
parent f33a38f3a1
commit c368a79fde
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,8 +1,8 @@
# Template file for 'widelands'
pkgname=widelands
version=19
revision=6
wrksrc=${pkgname}-build${version}-src
revision=7
wrksrc="${pkgname}-build${version}-src"
build_style=cmake
configure_args="
-DOPENGL_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include
@ -18,12 +18,12 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://www.widelands.org/"
distfiles="https://launchpad.net/${pkgname}/build${version}/build${version}/+download/${pkgname}-build${version}-src.tar.bz2"
checksum="e511f9d26828a2b71b64cdfc6674e6e847543b2da73961ab882acca36c7c01a6"
checksum=e511f9d26828a2b71b64cdfc6674e6e847543b2da73961ab882acca36c7c01a6
CXXFLAGS="-Wno-maybe-uninitialized"
CXXFLAGS="-Wno-maybe-uninitialized -DU_USING_ICU_NAMESPACE=1"
pre_configure() {
if [ -n "$CROSS_BUILD" ]; then
if [ "$CROSS_BUILD" ]; then
# Upstream could have defined a flag to disable tests,
# or make sure that test binaries are in host format...
patch -p0 < ${FILESDIR}/disable-testing.patch