games-engines/openmw: bump to 0.42.0

This commit is contained in:
Julian Ospald 2017-08-13 17:30:33 +02:00
parent 766261f1a7
commit 135646b817
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 1 additions and 30 deletions

View File

@ -1,25 +0,0 @@
From c8e5c7e082b3c0a0d4da0a7f299ddb71653fd268 Mon Sep 17 00:00:00 2001
From: Julian Ospald <hasufell@posteo.de>
Date: Fri, 26 May 2017 16:08:12 +0200
Subject: [PATCH] Fix build with OpenSceneGraph-3.5.6
---
components/resource/bulletshapemanager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/resource/bulletshapemanager.cpp b/components/resource/bulletshapemanager.cpp
index 0a5ed78..2e18dc8 100644
--- a/components/resource/bulletshapemanager.cpp
+++ b/components/resource/bulletshapemanager.cpp
@@ -42,7 +42,7 @@ struct GetTriangleFunctor
return btVector3(vec.x(), vec.y(), vec.z());
}
- void inline operator()( const osg::Vec3 v1, const osg::Vec3 v2, const osg::Vec3 v3, bool _temp )
+ void inline operator()( const osg::Vec3 v1, const osg::Vec3 v2, const osg::Vec3 v3 )
{
if (mTriMesh)
mTriMesh->addTriangle( toBullet(mMatrix.preMult(v1)), toBullet(mMatrix.preMult(v2)), toBullet(mMatrix.preMult(v3)));
--
2.13.0

View File

@ -27,16 +27,12 @@ DEPENDENCIES="
media-libs/SDL:2[X]
media-libs/freetype:2
media-libs/openal
sci-physics/bullet[>=2.83]
sci-physics/bullet[>=2.86]
x11-libs/qtbase:5
providers:ffmpeg? ( media/ffmpeg )
providers:libav? ( media/libav )
"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/0001-Fix-build-with-OpenSceneGraph-3.5.6.patch
)
CMAKE_SRC_CONFIGURE_PARAMS=(
-DBINDIR="/usr/$(exhost --target)/bin"
-DBUILD_BSATOOL=ON