summaryrefslogtreecommitdiff
path: root/graphics/grx/files/patch-src__include__memcopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/grx/files/patch-src__include__memcopy.h')
-rw-r--r--graphics/grx/files/patch-src__include__memcopy.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/grx/files/patch-src__include__memcopy.h b/graphics/grx/files/patch-src__include__memcopy.h
new file mode 100644
index 000000000000..1068b0f04d4a
--- /dev/null
+++ b/graphics/grx/files/patch-src__include__memcopy.h
@@ -0,0 +1,11 @@
+--- src/include/memcopy.h.orig
++++ src/include/memcopy.h
+@@ -44,7 +44,7 @@
+ #define CPSIZE_h sizeof(GR_int64)
+ #endif
+
+-#ifdef __GNUC__
++#if defined(__GNUC__) && !defined(__clang__)
+ # include "gcc/memcopy.h"
+ #elif defined(__TURBOC__)
+ # include "bcc/memcopy.h"