diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-10-27 08:30:33 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-10-27 08:31:21 +0000 |
commit | 5a87f10b5fb5033d6aa837ad068efeb2dfd893ec (patch) | |
tree | 82e26181be3146eb10c95ac0731ced6dfd2a2369 /testing/openscenegraph/musl-fixes.patch | |
parent | 28e5c0b36b00622c73ba03e81c4f0939a6f64395 (diff) | |
download | aports-5a87f10b5fb5033d6aa837ad068efeb2dfd893ec.tar.bz2 aports-5a87f10b5fb5033d6aa837ad068efeb2dfd893ec.tar.xz |
testing/openscenegraph: new aport
High performance 3D graphics toolkit
Diffstat (limited to 'testing/openscenegraph/musl-fixes.patch')
-rw-r--r-- | testing/openscenegraph/musl-fixes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/openscenegraph/musl-fixes.patch b/testing/openscenegraph/musl-fixes.patch new file mode 100644 index 0000000000..234c507e35 --- /dev/null +++ b/testing/openscenegraph/musl-fixes.patch @@ -0,0 +1,22 @@ +--- a/src/OpenThreads/pthreads/PThread.cpp ++++ b/src/OpenThreads/pthreads/PThread.cpp +@@ -23,7 +23,7 @@ + #include <pthread.h> + #include <limits.h> + +-#if defined __linux__ || defined __sun || defined __APPLE__ || ANDROID ++#if defined __GLIBC__ || defined __sun || defined __APPLE__ || ANDROID + #include <string.h> + #include <sys/time.h> + #include <sys/resource.h> +--- a/src/osgPlugins/osc/osc/OscHostEndianness.h ++++ b/src/osgPlugins/osc/osc/OscHostEndianness.h +@@ -51,7 +51,7 @@ + + #else + +- #if defined(__GLIBC__) || defined(__ANDROID__) || defined(__CYGWIN__) ++ #if defined(__linux__) || defined(__ANDROID__) || defined(__CYGWIN__) + #include <endian.h> + #if (__BYTE_ORDER == __LITTLE_ENDIAN) + #ifndef __LITTLE_ENDIAN__ |