summaryrefslogtreecommitdiff
path: root/graphics/grx/files/patch-src__include__memcopy.h
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-05-18 04:59:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-05-18 04:59:13 +0000
commit865d1703280ace39b09f656d1de22a73118e39ae (patch)
tree63d0806b7c5c2f1af7d67384b3263b97e5d3f163 /graphics/grx/files/patch-src__include__memcopy.h
parent- Fix build with clang (diff)
- Fix build on i386
- Stage support PR: 188139 Submitted by: Ports Fury
Diffstat (limited to '')
-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"