From 396d50157c06e73e2787d2290f3f9277561a56c7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 20 Feb 2019 01:48:53 -0300 Subject: [PATCH] xmoto: fix missing text closes #8197 --- srcpkgs/xmoto/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xmoto/template b/srcpkgs/xmoto/template index 39a4bfdde8..70803d714f 100644 --- a/srcpkgs/xmoto/template +++ b/srcpkgs/xmoto/template @@ -1,7 +1,7 @@ # Template file for 'xmoto' pkgname=xmoto version=0.5.11 -revision=10 +revision=11 build_style=gnu-configure configure_args="--disable-sdltest CPPFLAGS=-DdDOUBLE" hostmakedepends="automake libtool gettext-devel intltool desktop-file-utils" @@ -16,6 +16,10 @@ homepage="http://xmoto.tuxfamily.org/" distfiles="http://download.tuxfamily.org/xmoto/xmoto/${version}/xmoto-${version}-src.tar.gz" checksum=a584a6f9292b184686b72c78f16de4b82d5c5b72ad89e41912ff50d03eca26b2 +# Build using the old C++ ABI to fix issue with missing text; the issue +# should be fixed in the next stable release (if that ever does happen) +CPPFLAGS+=" -D_GLIBCXX_USE_CXX11_ABI=0" + if [ "$CROSS_BUILD" ]; then # configure can't test this when cross compiling export ac_cv_lib_GLU_gluBuild2DMipmaps=yes @@ -38,8 +42,8 @@ post_install() { } xmoto-data_package() { + archs=noarch short_desc+=" - data files" - noarch=yes pkg_install() { vmove usr/share/xmoto }