summaryrefslogtreecommitdiff
path: root/graphics/grx/files/patch-src__include__arith.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__arith.h
parent- Fix build with clang (diff)
- Fix build on i386
- Stage support PR: 188139 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=354392
Diffstat (limited to 'graphics/grx/files/patch-src__include__arith.h')
-rw-r--r--graphics/grx/files/patch-src__include__arith.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/grx/files/patch-src__include__arith.h b/graphics/grx/files/patch-src__include__arith.h
new file mode 100644
index 000000000000..c9afd57b578e
--- /dev/null
+++ b/graphics/grx/files/patch-src__include__arith.h
@@ -0,0 +1,11 @@
+--- src/include/arith.h.orig
++++ src/include/arith.h
+@@ -22,7 +22,7 @@
+ #ifndef __ARITH_H_INCLUDED__
+ #define __ARITH_H_INCLUDED__
+
+-#ifdef __GNUC__
++#if defined(__GNUC__) && !defined(__clang__)
+ #include "gcc/arith.h"
+ #elif defined(__TURBOC__)
+ #include "bcc/arith.h"