diff options
| author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-06-27 12:05:36 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-30 16:28:10 +0000 |
| commit | 2b1b68faae506777d1bca6f9d6a2227e005fc357 (patch) | |
| tree | 3da5d6d246d8f8060ae2a46337584fc9a82e027a /testing/openscenegraph/add-missing-include-for-ppc64le.patch | |
| parent | 4c9c96addb1935adfcc9dcbc609c0c9a99477a6b (diff) | |
| download | aports-2b1b68faae506777d1bca6f9d6a2227e005fc357.tar.bz2 aports-2b1b68faae506777d1bca6f9d6a2227e005fc357.tar.xz | |
testing/openscenegraph: fix build on ppc64le
Add missing include for string.h, that was not been included for ppc64le
Diffstat (limited to 'testing/openscenegraph/add-missing-include-for-ppc64le.patch')
| -rw-r--r-- | testing/openscenegraph/add-missing-include-for-ppc64le.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/openscenegraph/add-missing-include-for-ppc64le.patch b/testing/openscenegraph/add-missing-include-for-ppc64le.patch new file mode 100644 index 0000000000..8731b33a88 --- /dev/null +++ b/testing/openscenegraph/add-missing-include-for-ppc64le.patch @@ -0,0 +1,13 @@ +--- OpenSceneGraph-3.4.0/src/OpenThreads/pthreads/PThread.cpp ++++ OpenSceneGraph-3.4.0/src/OpenThreads/pthreads/PThread.cpp +@@ -57,6 +57,10 @@ + + #include <iostream> + ++#ifdef __powerpc64__ ++#include <string.h> ++#endif ++ + using namespace OpenThreads; + + #ifdef DEBUG |
