You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by js...@apache.org on 2015/09/28 11:13:21 UTC

svn commit: r1705625 - /openoffice/branches/AOO410/ext_libraries/coinmp/coinmp-1.7.6-clang.patch

Author: jsc
Date: Mon Sep 28 09:13:20 2015
New Revision: 1705625

URL: http://svn.apache.org/viewvc?rev=1705625&view=rev
Log:
#124158# merge fix from trunk

Modified:
    openoffice/branches/AOO410/ext_libraries/coinmp/coinmp-1.7.6-clang.patch

Modified: openoffice/branches/AOO410/ext_libraries/coinmp/coinmp-1.7.6-clang.patch
URL: http://svn.apache.org/viewvc/openoffice/branches/AOO410/ext_libraries/coinmp/coinmp-1.7.6-clang.patch?rev=1705625&r1=1705624&r2=1705625&view=diff
==============================================================================
--- openoffice/branches/AOO410/ext_libraries/coinmp/coinmp-1.7.6-clang.patch (original)
+++ openoffice/branches/AOO410/ext_libraries/coinmp/coinmp-1.7.6-clang.patch Mon Sep 28 09:13:20 2015
@@ -1,5 +1,5 @@
---- misc/CoinMP-1.7.6/CoinUtils/src/CoinSignal.hpp	2011-01-03 23:31:00.000000000 +0000
-+++ misc/build/CoinMP-1.7.6/CoinUtils/src/CoinSignal.hpp	2015-08-04 23:25:43.468410000 +0000
+--- misc/CoinMP-1.7.6/CoinUtils/src/CoinSignal.hpp	2011-01-04 00:31:00.000000000 +0100
++++ misc/build/CoinMP-1.7.6/CoinUtils/src/CoinSignal.hpp	2015-09-28 10:45:02.000000000 +0200
 @@ -44,7 +44,11 @@
  //-----------------------------------------------------------------------------
  
@@ -13,3 +13,15 @@
  #  define CoinSighandler_t_defined
  #endif
  
+@@ -95,7 +99,10 @@
+ 
+ //-----------------------------------------------------------------------------
+ 
+-#if defined(__MACH__) && defined(__GNUC__)
++#if defined(__clang__) && !defined(CoinSighandler_t_defined)
++   typedef void(*CoinSighandler_t)(int);
++#  define CoinSighandler_t_defined
++#elif defined(__MACH__) && defined(__GNUC__)
+    typedef typeof(SIG_DFL) CoinSighandler_t;
+ #  define CoinSighandler_t_defined
+ #endif