From cbf6be09d591a716cf251a0087b126805e077ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 1 Mar 2016 17:36:19 +0100 Subject: [PATCH] collada2gltf: add missing patches directory --- .../patches/musl-return_default.patch | 10 ++++++++++ .../collada2gltf/patches/musl-stdint_h.patch | 20 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/collada2gltf/patches/musl-return_default.patch create mode 100644 srcpkgs/collada2gltf/patches/musl-stdint_h.patch diff --git a/srcpkgs/collada2gltf/patches/musl-return_default.patch b/srcpkgs/collada2gltf/patches/musl-return_default.patch new file mode 100644 index 00000000000..156ebb7a74e --- /dev/null +++ b/srcpkgs/collada2gltf/patches/musl-return_default.patch @@ -0,0 +1,10 @@ +--- COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/src/CommonFWriteBufferFlusher.cpp ++++ COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/src/CommonFWriteBufferFlusher.cpp +@@ -146,6 +146,7 @@ + return success; + } + } ++ return false; + } + + } // namespace Common diff --git a/srcpkgs/collada2gltf/patches/musl-stdint_h.patch b/srcpkgs/collada2gltf/patches/musl-stdint_h.patch new file mode 100644 index 00000000000..d6687674851 --- /dev/null +++ b/srcpkgs/collada2gltf/patches/musl-stdint_h.patch @@ -0,0 +1,20 @@ +--- COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/include/CommonFWriteBufferFlusher.h ++++ COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/include/CommonFWriteBufferFlusher.h +@@ -35,15 +35,14 @@ + #ifdef __GNUC__ + # include /* size_t */ + # include /* FILE */ +-#ifdef __FreeBSD__ +-#include /* int64_t */ +-#endif + #endif + ++#include ++ + #if __cplusplus > 199711L + typedef int64_t __int64; + #else + #if (defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(__MINGW32__)) || (__STDC_VERSION__ >= 199901L) + typedef int64_t __int64; + #endif + #endif