diff --git a/srcpkgs/opencollada/patches/003-musl-stdint_h.patch b/srcpkgs/opencollada/patches/003-musl-stdint_h.patch new file mode 100644 index 0000000000..aafdacb20b --- /dev/null +++ b/srcpkgs/opencollada/patches/003-musl-stdint_h.patch @@ -0,0 +1,11 @@ +--- common/libBuffer/include/CommonFWriteBufferFlusher.h 2016-04-11 20:10:51.000000000 +0200 ++++ common/libBuffer/include/CommonFWriteBufferFlusher.h 2016-04-12 10:56:39.685988592 +0200 +@@ -35,7 +35,7 @@ + #ifdef __GNUC__ + # include /* size_t */ + # include /* FILE */ +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || !defined(__GLIBC__) + #include /* int64_t */ + #endif + #endif diff --git a/srcpkgs/opencollada/template b/srcpkgs/opencollada/template index 875258f80f..7c6201dc58 100644 --- a/srcpkgs/opencollada/template +++ b/srcpkgs/opencollada/template @@ -1,9 +1,8 @@ # Template file for 'opencollada' pkgname=opencollada -version=0.0.20160223 +version=1.6.1 revision=1 -_gitrev=05bdf47679a29195a54ddaa1158b0d65a28421a9 -wrksrc="OpenCOLLADA-${_gitrev}" +wrksrc="OpenCOLLADA-${version}" build_style=cmake configure_args="-DUSE_SHARED=TRUE" hostmakedepends="cmake pkg-config" @@ -12,8 +11,8 @@ short_desc="Stream based reader and writer library for COLLADA files" maintainer="Jürgen Buchmüller " license="GPL-3" homepage="https://github.com/KhronosGroup/OpenCOLLADA" -distfiles="https://github.com/KhronosGroup/OpenCOLLADA/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz" -checksum=031205ae7f6085b5fc480c150b6a484ab2e573cd01888010dbd1f492d0ef5559 +distfiles="https://github.com/KhronosGroup/OpenCOLLADA/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=1279470f5edbeccca74d685a6ed7cabc4685912b3fabfd251a984276fc2c92ba post_install() { # Move libraries to /usr/lib to avoid adding to /etc/ld.so.conf.d