From 54a34c95b8bc47bb0f8dd59782237e4d59e6a057 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Fri, 27 Jun 2014 08:07:59 +0000 Subject: - STAGE-clean - Fix build --- textproc/zorba/files/patch-include-zorba-config.h.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 textproc/zorba/files/patch-include-zorba-config.h.cmake (limited to 'textproc/zorba/files/patch-include-zorba-config.h.cmake') diff --git a/textproc/zorba/files/patch-include-zorba-config.h.cmake b/textproc/zorba/files/patch-include-zorba-config.h.cmake new file mode 100644 index 000000000000..b7fbba08339d --- /dev/null +++ b/textproc/zorba/files/patch-include-zorba-config.h.cmake @@ -0,0 +1,11 @@ +--- include/zorba/config.h.cmake.orig 2014-06-13 15:08:16.000000000 +0200 ++++ include/zorba/config.h.cmake 2014-06-13 15:08:29.000000000 +0200 +@@ -126,7 +126,7 @@ + + ////////// C++ tr1 include directory & namespace ////////////////////////////// + +-#if defined( __GNUC__ ) && (__GNUC__ * 100 + __GNUC_MINOR__ < 430) ++#if !defined(__clang__) && defined( __GNUC__ ) && (__GNUC__ * 100 + __GNUC_MINOR__ < 430) + # define ZORBA_GCC_OLDER_THAN_430 1 + #endif + -- cgit v1.2.3