diff options
Diffstat (limited to 'audio/guitarix/patches/0003-fix-build-even-for-gcc4.8.patch')
-rw-r--r-- | audio/guitarix/patches/0003-fix-build-even-for-gcc4.8.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/audio/guitarix/patches/0003-fix-build-even-for-gcc4.8.patch b/audio/guitarix/patches/0003-fix-build-even-for-gcc4.8.patch new file mode 100644 index 0000000000..50c64372ad --- /dev/null +++ b/audio/guitarix/patches/0003-fix-build-even-for-gcc4.8.patch @@ -0,0 +1,65 @@ +From 995a692e807a5812a356d08d4d4adb1d72e67a7d Mon Sep 17 00:00:00 2001 +From: Hermann Meyer <brummer-@web.de> +Date: Mon, 9 Nov 2015 13:06:45 +0100 +Subject: [PATCH 3/3] * fix build even for gcc4.8 + +--- + trunk/src/LV2/DSP/gx_common.h | 4 ++-- + trunk/src/headers/gx_system.h | 6 +++--- + 2 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/trunk/src/LV2/DSP/gx_common.h b/trunk/src/LV2/DSP/gx_common.h +index 0a3e44b..282c765 100644 +--- a/trunk/src/LV2/DSP/gx_common.h ++++ b/trunk/src/LV2/DSP/gx_common.h +@@ -35,7 +35,7 @@ + /* On Intel set FZ (Flush to Zero) and DAZ (Denormals Are Zero) + flags to avoid costly denormals */ + #ifdef __SSE3__ +-#ifndef _X86INTRIN_H_INCLUDED ++#ifndef _PMMINTRIN_H_INCLUDED + #include <pmmintrin.h> + #endif //ndef + inline void AVOIDDENORMALS() +@@ -44,7 +44,7 @@ inline void AVOIDDENORMALS() + _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON); + } + #else +-#ifndef _X86INTRIN_H_INCLUDED ++#ifndef _XMMINTRIN_H_INCLUDED + #include <xmmintrin.h> + #endif //ndef + inline void AVOIDDENORMALS() +diff --git a/trunk/src/headers/gx_system.h b/trunk/src/headers/gx_system.h +index 7bf35f8..abf1e06 100644 +--- a/trunk/src/headers/gx_system.h ++++ b/trunk/src/headers/gx_system.h +@@ -51,7 +51,7 @@ inline unsigned int get_fpu_status_bits() { + /* On Intel set FZ (Flush to Zero) and DAZ (Denormals Are Zero) + flags to avoid costly denormals */ + #ifdef __SSE3__ +-#ifndef _X86INTRIN_H_INCLUDED ++#ifndef _PMMINTRIN_H_INCLUDED + #include <pmmintrin.h> + #endif //ndef + inline void AVOIDDENORMALS() { +@@ -59,14 +59,14 @@ inline void AVOIDDENORMALS() { + _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON); + } + #else +-#ifndef _X86INTRIN_H_INCLUDED ++#ifndef _XMMINTRIN_H_INCLUDED + #include <xmmintrin.h> + #endif //ndef + inline void AVOIDDENORMALS() { _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON); } + #endif //__SSE3__ + + #else +-#ifndef _X86INTRIN_H_INCLUDED ++#ifndef _XMMINTRIN_H_INCLUDED + inline void _MM_SET_EXCEPTION_STATE(unsigned int __mask) {} + inline unsigned int _MM_GET_EXCEPTION_STATE(void) { return 0; } + #endif //ndef +-- +1.8.4 + |