From 6712ef4a73536e9a114dade90fbdbb8fdac3ba44 Mon Sep 17 00:00:00 2001 From: Ryan Carsten Schmidt Date: Thu, 28 May 2026 23:02:14 -0500 Subject: [PATCH] opendx: Fix patch failure Closes: https://trac.macports.org/ticket/74041 --- science/opendx/Portfile | 2 +- science/opendx/files/client-gethostbyname.diff | 4 ++-- science/opendx/files/implicit.patch | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/science/opendx/Portfile b/science/opendx/Portfile index 9d6e8456107..a5649f0efb5 100644 --- a/science/opendx/Portfile +++ b/science/opendx/Portfile @@ -99,7 +99,7 @@ if {${os.platform} eq "darwin" && ${os.major} >= 9} { configure.cppflags-append -D_UINT64 -D_UINT32 -D_UINT16 -D_UINT8 } -variant java description "enable java support" { +variant java description "enable java support" { depends_lib-append port:cosmoplayer \ port:opendx-java40 configure.args-delete --without-javadx diff --git a/science/opendx/files/client-gethostbyname.diff b/science/opendx/files/client-gethostbyname.diff index 1fd1260ae67..562d320c006 100644 --- a/science/opendx/files/client-gethostbyname.diff +++ b/science/opendx/files/client-gethostbyname.diff @@ -1,5 +1,5 @@ ---- exec/libdx/client.c 2005-12-30 15:39:16.000000000 -0500 -+++ exec/libdx/client.c 2026-04-30 17:50:02.000000000 -0400 +--- src/exec/libdx/client.c.orig 2005-12-30 15:39:16.000000000 -0500 ++++ src/exec/libdx/client.c 2026-04-30 17:50:02.000000000 -0400 @@ -137,7 +137,7 @@ struct hostent *hp; int length; diff --git a/science/opendx/files/implicit.patch b/science/opendx/files/implicit.patch index 381175bb37b..64a194764f0 100644 --- a/science/opendx/files/implicit.patch +++ b/science/opendx/files/implicit.patch @@ -3,9 +3,9 @@ Fix: error: implicit declaration of function 'XmGetDestination' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Define a placeholder XmGetDestination, just like AC_CHECK_LIB does. ---- acinclude.m4.orig 2020-12-17 02:57:21.000000000 -0600 -+++ acinclude.m4 2020-12-17 04:34:20.000000000 -0600 -@@ -433,7 +433,7 @@ +--- acinclude.m4.orig 2006-05-25 18:34:52.000000000 -0500 ++++ acinclude.m4 2026-05-28 23:00:33.000000000 -0500 +@@ -434,7 +433,7 @@ # Don't add to $LIBS permanently. ac_save_LIBS="$LIBS" LIBS="-l$xm_direct_test_library $LIBS"