From e86ab0c653213e189e875ed10ebaafbb59b87731 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 22 Oct 2015 12:53:09 -0300 Subject: ogre-1.9.0-11.parabola1: boost 1.59.0 rebuild * fix build with GCC 5.1 --- libre/ogre/PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'libre') diff --git a/libre/ogre/PKGBUILD b/libre/ogre/PKGBUILD index 01933fe07..469284be1 100644 --- a/libre/ogre/PKGBUILD +++ b/libre/ogre/PKGBUILD @@ -14,7 +14,7 @@ pkgname=( #$_bldname-addon-$pkgbase # package unstable ) pkgver=1.9.0 -pkgrel=10.parabola1 +pkgrel=11.parabola1 pkgdesc='Scene-oriented, flexible 3D engine written in C++, without nonfree software support and files' arch=( mips64el @@ -48,7 +48,8 @@ mksource=( ) source=( https://repo.parabola.nu/other/$pkgbase-libre/$pkgbase-libre-$pkgver.tar.xz - cmake30.patch::https://bitbucket.org/sinbad/ogre/commits/d84bce645d3dd439188d3d29d8da51c51765a085/raw/ + ogre-template-fix.patch::https://bitbucket.org/sinbad/ogre/commits/a24ac4afbbb9dc5ff49a61634af50da11ba8fb97/raw/ + ogre-cmake30.patch::https://bitbucket.org/sinbad/ogre/commits/d84bce645d3dd439188d3d29d8da51c51765a085/raw/ libre.patch ) mksha512sums=( @@ -56,6 +57,7 @@ mksha512sums=( ) sha512sums=( 13e743d65affd6813f6e3c6064d543bfe2d013a8d44bec203dc819859618114f0e5c7f5e67a98250d0174497dd58a9238956e04ac9f7925695ab6ebda555c412 + 8188083e88fef6c9ed2df9058204ecb5384c1fac530570323aa5becbec93e7f2f9ff624a6568df845abd9ea1a01195b710d8b48e3074a2aa8101415bce873b72 1130544e532d77d7fe31dbd09fe7980716e2497a309c35fa12663450838be393bdf329696d4411e5644e03e328cd8772fb9becb7be5f6a87bd54c296d90b75b7 5480c08c6faf48c1aabde1efd9508165c2fbea78f19d58c6360ea310c223d1979a7d7eaa15c9a70c8c3b3e7f89877c6f47e7fe16638ae77c463d55e87a5a3316 ) @@ -74,7 +76,8 @@ mksource() { prepare() { cd ${pkgbase} - patch -Np1 < $srcdir/cmake30.patch + patch -Np1 < $srcdir/ogre-template-fix.patch + patch -Np1 < $srcdir/ogre-cmake30.patch # remove nonfree references patch -Np1 -i $srcdir/libre.patch @@ -95,6 +98,9 @@ build() { [[ -d build ]] && rm -vrf build mkdir -v build && cd build + # Silence warnings about deprecated declarations + CXXFLAGS+=' -Wno-deprecated-declarations' + # SAMPLES, SAMPLES_SOURCE and TESTS are nonfree cmake .. \ -DCMAKE_BUILD_TYPE=Release\ -- cgit v1.2.3