From a8ee3459a8e4c3da4dd15a358a623127528871f0 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 7 Dec 2019 22:17:48 +0100 Subject: [PATCH] speed-dreams: fix ppc64 patch applying (windows line endings) --- .../{compile-on-POWER.diff => ppc64le.patch} | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) rename srcpkgs/speed-dreams/patches/{compile-on-POWER.diff => ppc64le.patch} (78%) diff --git a/srcpkgs/speed-dreams/patches/compile-on-POWER.diff b/srcpkgs/speed-dreams/patches/ppc64le.patch similarity index 78% rename from srcpkgs/speed-dreams/patches/compile-on-POWER.diff rename to srcpkgs/speed-dreams/patches/ppc64le.patch index 415f6f37c84..6b7703ea545 100644 --- a/srcpkgs/speed-dreams/patches/compile-on-POWER.diff +++ b/srcpkgs/speed-dreams/patches/ppc64le.patch @@ -1,13 +1,13 @@ -Index: src/modules/graphic/osggraph/Utils/OsgAtomic.h -=================================================================== ---- src/modules/graphic/osggraph/Utils/OsgAtomic.h (revision 6789) -+++ src/modules/graphic/osggraph/Utils/OsgAtomic.h (working copy) +Index: src/modules/graphic/osggraph/Utils/OsgAtomic.h +=================================================================== +--- src/modules/graphic/osggraph/Utils/OsgAtomic.h (revision 6789) ++++ src/modules/graphic/osggraph/Utils/OsgAtomic.h (working copy) @@ -20,7 +20,7 @@ - #ifndef OsgAtomic_H - #define OsgAtomic_H - --#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && defined(__x86_64__) -+#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && (defined(__x86_64__) || defined(__powerpc64__)) - // No need to include something. Is a Compiler API ... - # define SDATOMIC_USE_GCC4_BUILTINS - #elif defined(__GNUC__) && defined(__i386__) + #ifndef OsgAtomic_H + #define OsgAtomic_H + +-#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && defined(__x86_64__) ++#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && (defined(__x86_64__) || defined(__powerpc64__)) + // No need to include something. Is a Compiler API ... + # define SDATOMIC_USE_GCC4_BUILTINS + #elif defined(__GNUC__) && defined(__i386__)