summaryrefslogtreecommitdiff
path: root/graphics/grx/files/patch-src__include__memmode.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--graphics/grx/files/patch-src__include__memmode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/grx/files/patch-src__include__memmode.h b/graphics/grx/files/patch-src__include__memmode.h
new file mode 100644
index 000000000000..1701b0f640a5
--- /dev/null
+++ b/graphics/grx/files/patch-src__include__memmode.h
@@ -0,0 +1,11 @@
+--- src/include/memmode.h.orig
++++ src/include/memmode.h
+@@ -19,7 +19,7 @@
+ #ifndef __MEMMODE_H_INCLUDED__
+ #define __MEMMODE_H_INCLUDED__
+
+-#ifdef __GNUC__
++#if defined(__GNUC__) && !defined(__clang__)
+ #include "gcc/memmode.h"
+ #elif defined(__TURBOC__)
+ #include "bcc/memmode.h"