aboutsummaryrefslogtreecommitdiffstats
path: root/games/acm
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-05-13 04:38:45 +0800
committerjbeich <jbeich@FreeBSD.org>2017-05-13 04:38:45 +0800
commitcf3c40e24a6e9603b06ef9164baefca65bd5ef9d (patch)
treeaee04a3bf79ab33ccb15ca672e7be53f7812a14c /games/acm
parent4c0f2e23ecb05274176660834ad2da04615f2856 (diff)
downloadfreebsd-ports-gnome-cf3c40e24a6e9603b06ef9164baefca65bd5ef9d.tar.gz
freebsd-ports-gnome-cf3c40e24a6e9603b06ef9164baefca65bd5ef9d.tar.zst
freebsd-ports-gnome-cf3c40e24a6e9603b06ef9164baefca65bd5ef9d.zip
games/acm: unbreak on aarch64
xdr_var_array.c:82:12: fatal error: 'machine/limits.h' file not found # include <machine/limits.h> ^ 1 error generated. Reported by: pkg-fallout
Diffstat (limited to 'games/acm')
-rw-r--r--games/acm/Makefile2
-rw-r--r--games/acm/files/patch-dis_lib_xdr_var_array.c15
2 files changed, 5 insertions, 12 deletions
diff --git a/games/acm/Makefile b/games/acm/Makefile
index 130acdd38f18..a6a80147f087 100644
--- a/games/acm/Makefile
+++ b/games/acm/Makefile
@@ -23,8 +23,6 @@ CONFIGURE_ENV= ac_cv_lib_Xm_XmCreateBulletinBoard=no \
ac_cv_lib_gdbm_dbm_fetch=no
MAKE_ARGS= prefix=${STAGEDIR}${PREFIX}/ OBVDIR=${STAGEDIR}${DATADIR}/
-BROKEN_aarch64= Fails to compile: machine/limits.h not found
-
OPTIONS_DEFINE= SOUND
SOUND_LIB_DEPENDS= libaudio.so:audio/nas
diff --git a/games/acm/files/patch-dis_lib_xdr_var_array.c b/games/acm/files/patch-dis_lib_xdr_var_array.c
index d0ce1c2950b1..61948056a68a 100644
--- a/games/acm/files/patch-dis_lib_xdr_var_array.c
+++ b/games/acm/files/patch-dis_lib_xdr_var_array.c
@@ -1,19 +1,14 @@
---- dis/lib/xdr_var_array.c~ Mon May 11 20:58:55 1998
-+++ dis/lib/xdr_var_array.c Sun Jul 6 03:21:47 2003
-@@ -75,6 +75,12 @@
+--- dis/lib/xdr_var_array.c.orig 1998-05-12 03:58:55 UTC
++++ dis/lib/xdr_var_array.c
+@@ -75,6 +75,7 @@ static char *rcsid = "$Id: xdr_var_array.c,v 1.2 1998/
#include <stdio.h>
#include <stdlib.h>
-+#include <sys/param.h>
-+#if __FreeBSD_Version__ >= 500113
-+# include <sys/limits.h>
-+#else
-+# include <machine/limits.h>
-+#endif
++#include <limits.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
-@@ -104,7 +110,7 @@
+@@ -104,7 +105,7 @@ xdr_var_array(register XDR * xdrs, caddr_t * addrp, u_
register u_int nodesize;
c = size;