<pre style='margin:0'>
roederja pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1c6cf1c2e2eb094e5c2ecdfc5470218b2a86aa97">https://github.com/macports/macports-ports/commit/1c6cf1c2e2eb094e5c2ecdfc5470218b2a86aa97</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 1c6cf1c mico: Fix compilation on modern OS X (#4858)
</span>1c6cf1c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1c6cf1c2e2eb094e5c2ecdfc5470218b2a86aa97
</span>Author: roederja <mail@jann-roeder.net>
AuthorDate: Sun Jul 21 00:44:50 2019 +0100
<span style='display:block; white-space:pre;color:#404040;'> mico: Fix compilation on modern OS X (#4858)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Patch to remove isnan definition that is not necessary on modern os x anymore.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> https://trac.macports.org/ticket/58707
</span>---
devel/mico/Portfile | 5 +++--
devel/mico/files/patch-os-math.h.diff | 27 +++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/mico/Portfile b/devel/mico/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 220a747..1469e2e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/mico/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/mico/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,7 +2,7 @@ PortSystem 1.0
</span>
name mico
version 2.3.13
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> homepage http://www.mico.org/
description Fully compliant CORBA implementation
long_description MICO is a mature, secure, robust, fully \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,7 +20,8 @@ checksums ${distname}${extract.suffix} md5 a8e5d5a0e32dba2ef767eb5189f
</span> ${distname}${extract.suffix} rmd160 70c8b9e68deac853ed2a28f48cd719bdef4e60fb
patchfiles patch-mico-shld.def.in.diff \
patch-configure.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-main-sig.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-main-sig.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-os-math.h.diff
</span> worksrcdir mico
patch.pre_args -p1
post-patch {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/mico/files/patch-os-math.h.diff b/devel/mico/files/patch-os-math.h.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..06d3cd9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/mico/files/patch-os-math.h.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mico/include/mico/os-math.h.orig 2008-07-25 14:41:44.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mico/include/mico/os-math.h 2019-07-20 23:38:56.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -332,24 +332,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sunmath.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__APPLE__) && defined(__MACH__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-// it _IS_ defined on 10.4, 10.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef isinf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define isinf( x ) ( ( sizeof ( x ) == sizeof(double) ) ? \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- __isinfd ( x ) : \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ( sizeof ( x ) == sizeof( float) ) ? \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- __isinff ( x ) : \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- __isinf ( x ) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef isnan
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define isnan( x ) ( ( sizeof ( x ) == sizeof(double) ) ? \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- __isnand ( x ) : \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ( sizeof ( x ) == sizeof( float) ) ? \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- __isnanf ( x ) : \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- __isnan ( x ) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif // __APPLE__ && __MACH__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <mico/lmath.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ class OSMath {
</span></pre><pre style='margin:0'>
</pre>