From 865d1703280ace39b09f656d1de22a73118e39ae Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 18 May 2014 04:59:13 +0000 Subject: - Fix build on i386 - Stage support PR: 188139 Submitted by: Ports Fury --- graphics/grx/files/patch-src__include__arith.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/grx/files/patch-src__include__arith.h (limited to 'graphics/grx/files/patch-src__include__arith.h') 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" -- cgit v1.2.3