opendx: Fix patch failure

Closes: https://trac.macports.org/ticket/74041
This commit is contained in:
Ryan Carsten Schmidt
2026-05-28 23:02:14 -05:00
parent 6db86ea8cc
commit 6712ef4a73
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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
@@ -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;
+3 -3
View File
@@ -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"