diff --git a/srcpkgs/libogre/patches/musl_str_l.patch b/srcpkgs/libogre/patches/musl_str_l.patch new file mode 100644 index 00000000000..ad658a94f83 --- /dev/null +++ b/srcpkgs/libogre/patches/musl_str_l.patch @@ -0,0 +1,14 @@ +--- OgreMain/include/OgreString.h.orig 2018-04-17 09:04:05.425658306 +0200 ++++ OgreMain/include/OgreString.h 2018-04-17 09:14:39.457143961 +0200 +@@ -76,6 +76,11 @@ namespace __gnu_cxx + # define strtol_l(ptr, end, base, l) strtol(ptr, end, base) + #endif + ++#if OGRE_PLATFORM == OGRE_PLATFORM_LINUX && !defined(__GLIBC__) ++# define strtoul_l(ptr, end, base, l) strtoul(ptr, end, base) ++# define strtol_l(ptr, end, base, l) strtol(ptr, end, base) ++#endif ++ + // If compiling with make on macOS, these headers need to be included to get + // definitions of locale_t, strtod_l, etc... + // See: http://www.unix.com/man-page/osx/3/strtod_l/ diff --git a/srcpkgs/libogre/template b/srcpkgs/libogre/template index af9fe12fc3a..64faaac94f3 100644 --- a/srcpkgs/libogre/template +++ b/srcpkgs/libogre/template @@ -24,10 +24,6 @@ make_build_target="all OgreDoc" wrksrc=ogre-$version CXXFLAGS="-fcheck-new -fno-delete-null-pointer-checks -fno-lifetime-dse" -case "$XBPS_TARGET_MACHINE" in - *-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/9369/steps/shell_3/logs/stdio" -esac - post_install() { vmkdir /usr/share/doc