svn commit: r440712 - in branches/2017Q2/games/acm: . files
Jan Beich
jbeich at FreeBSD.org
Fri May 12 20:41:53 UTC 2017
Author: jbeich
Date: Fri May 12 20:41:51 2017
New Revision: 440712
URL: https://svnweb.freebsd.org/changeset/ports/440712
Log:
MFH: r440711
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
Approved by: ports-secteam blanket
Modified:
branches/2017Q2/games/acm/Makefile
branches/2017Q2/games/acm/files/patch-dis_lib_xdr_var_array.c
Directory Properties:
branches/2017Q2/ (props changed)
Modified: branches/2017Q2/games/acm/Makefile
==============================================================================
--- branches/2017Q2/games/acm/Makefile Fri May 12 20:38:45 2017 (r440711)
+++ branches/2017Q2/games/acm/Makefile Fri May 12 20:41:51 2017 (r440712)
@@ -24,8 +24,6 @@ CONFIGURE_ENV= ac_cv_lib_Xm_XmCreateBull
USE_PERL5= build
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
Modified: branches/2017Q2/games/acm/files/patch-dis_lib_xdr_var_array.c
==============================================================================
--- branches/2017Q2/games/acm/files/patch-dis_lib_xdr_var_array.c Fri May 12 20:38:45 2017 (r440711)
+++ branches/2017Q2/games/acm/files/patch-dis_lib_xdr_var_array.c Fri May 12 20:41:51 2017 (r440712)
@@ -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;
More information about the svn-ports-branches
mailing list