From 198917c3faa602a9a4e020f2e74b864c2cfac881 Mon Sep 17 00:00:00 2001 From: jbu Date: Mon, 3 Aug 2015 23:21:52 +0200 Subject: [PATCH] libogre: unbreak arm*-musl --- srcpkgs/libogre/patches/musl_sysctl.patch | 12 ++++++++++++ srcpkgs/libogre/template | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/libogre/patches/musl_sysctl.patch diff --git a/srcpkgs/libogre/patches/musl_sysctl.patch b/srcpkgs/libogre/patches/musl_sysctl.patch new file mode 100644 index 00000000000..ce8a8402d2a --- /dev/null +++ b/srcpkgs/libogre/patches/musl_sysctl.patch @@ -0,0 +1,12 @@ +--- OgreMain/src/OgrePlatformInformation.cpp 2015-08-03 22:41:03.964820685 +0200 ++++ OgreMain/src/OgrePlatformInformation.cpp 2015-08-03 22:54:13.043818347 +0200 +@@ -43,7 +43,9 @@ + #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID + #include + #elif OGRE_CPU == OGRE_CPU_ARM ++ #if defined(__GLIBC__) + #include ++ #endif + #if __MACH__ + #if defined(__GLIBC__) + #include diff --git a/srcpkgs/libogre/template b/srcpkgs/libogre/template index 4a5aaddd94b..1e03fe1ce33 100644 --- a/srcpkgs/libogre/template +++ b/srcpkgs/libogre/template @@ -1,7 +1,7 @@ # Template file for 'ogre' pkgname=libogre version=1.9.0 -revision=3 +revision=4 build_style=cmake _hgrev=dd30349ea6670e3cd962d9d41a8039de3a3482d3 configure_args="-DCMAKE_INSTALL_PREFIX=/usr \ @@ -14,7 +14,7 @@ configure_args="-DCMAKE_INSTALL_PREFIX=/usr \ hostmakedepends="cmake pkg-config graphviz doxygen dejavu-fonts-ttf" makedepends="boost-devel freetype-devel libXaw-devel libXrandr-devel MesaLib-devel zziplib-devel libcppunit-devel glu-devel libatomic-devel" -short_desc="scene-oriented, flexible 3D engine" +short_desc="Scene-oriented, flexible 3D engine" maintainer="Enno Boland " homepage="http://www.ogre3d.org" license="MIT"