<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch fix-warnings
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/7f4097d19ccdbb7a5453bdd71056da4c98aef7d1">https://github.com/macports/macports-legacy-support/commit/7f4097d19ccdbb7a5453bdd71056da4c98aef7d1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7f4097d19ccdbb7a5453bdd71056da4c98aef7d1
</span>Author: Chris Jones <jonesc@hep.phy.cam.ac.uk>
AuthorDate: Fri Feb 1 16:30:08 2019 +0000
<span style='display:block; white-space:pre;color:#404040;'> fix various compilation warnings
</span>---
include/MacportsLegacySupport.h | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/MacportsLegacySupport.h b/include/MacportsLegacySupport.h
</span><span style='display:block; white-space:pre;color:#808080;'>index bf29f3b..fe83e64 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/MacportsLegacySupport.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/MacportsLegacySupport.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,18 +60,26 @@
</span> #define __MP_LEGACY_SUPPORT_POSIX_MEMALIGN__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
/* realpath() wrap */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#define __MP_LEGACY_SUPPORT_REALPATH_WRAP__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && !defined(__DISABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__) \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && !defined(__DISABLE_ALL_MACPORTS_FUNCTION_WRAPPING__) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && !defined(__DISABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && !defined(__DISABLE_ALL_MACPORTS_FUNCTION_WRAPPING__) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# define __MP_LEGACY_SUPPORT_REALPATH_WRAP__ 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# define __MP_LEGACY_SUPPORT_REALPATH_WRAP__ 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span>
/* lsmod */
#define __MP_LEGACY_SUPPORT_LSMOD__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050)
/* sysconf() wrap */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#define __MP_LEGACY_SUPPORT_SYSCONF_WRAP__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && !defined(__DISABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__) \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && !defined(__DISABLE_ALL_MACPORTS_FUNCTION_WRAPPING__) )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && !defined(__DISABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && !defined(__DISABLE_ALL_MACPORTS_FUNCTION_WRAPPING__) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# define __MP_LEGACY_SUPPORT_SYSCONF_WRAP__ 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# define __MP_LEGACY_SUPPORT_SYSCONF_WRAP__ 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> /* arc4random */
#define __MP_LEGACY_SUPPORT_ARC4RANDOM__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
</pre><pre style='margin:0'>
</pre>