<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6cad1fe2afeeda871af1c96b362b85d0384b27fd">https://github.com/macports/macports-ports/commit/6cad1fe2afeeda871af1c96b362b85d0384b27fd</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 6cad1fe2afe opendx: Fix an implicit declaration of function
</span>6cad1fe2afe is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6cad1fe2afeeda871af1c96b362b85d0384b27fd
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Dec 17 08:33:41 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> opendx: Fix an implicit declaration of function
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/61842
</span>---
science/opendx/Portfile | 3 ++-
science/opendx/files/implicit.patch | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/opendx/Portfile b/science/opendx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d7cdb4cb23e..c4756e42794 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/opendx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/opendx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -62,7 +62,8 @@ patchfiles configure.ac.diff \
</span> patch-src-exec-dxmods-local.mk.in.diff \
main.diff \
patch-src-uipp-java-Makefile.am.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-imagemagick.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-imagemagick.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span>
# see https://trac.macports.org/ticket/56716
# fix missing -c flag
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/opendx/files/implicit.patch b/science/opendx/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..381175bb37b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/opendx/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicit declaration of function 'XmGetDestination' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Define a placeholder XmGetDestination, just like AC_CHECK_LIB does.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- acinclude.m4.orig 2020-12-17 02:57:21.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ acinclude.m4 2020-12-17 04:34:20.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -433,7 +433,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Don't add to $LIBS permanently.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ac_save_LIBS="$LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS="-l$xm_direct_test_library $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[${xm_direct_test_function}()]])],[LIBS="$ac_save_LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_LINK_IFELSE([AC_LANG_PROGRAM([[char ${xm_direct_test_function} ();]], [[${xm_direct_test_function}()]])],[LIBS="$ac_save_LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # We can link Motif programs with no special library path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xm_libraries=],[LIBS="$ac_save_LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # First see if replacing the include by lib works.
</span></pre><pre style='margin:0'>
</pre>