diff --git a/srcpkgs/xmoto/template b/srcpkgs/xmoto/template index 39a4bfdde8c..70803d714f2 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 }