Date: Fri, 12 May 2017 20:38:45 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440711 - in head/games/acm: . files Message-ID: <201705122038.v4CKcj4c022031@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri May 12 20:38:45 2017 New Revision: 440711 URL: https://svnweb.freebsd.org/changeset/ports/440711 Log: 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 Modified: head/games/acm/Makefile head/games/acm/files/patch-dis_lib_xdr_var_array.c Modified: head/games/acm/Makefile ============================================================================== --- head/games/acm/Makefile Fri May 12 20:27:52 2017 (r440710) +++ head/games/acm/Makefile Fri May 12 20:38:45 2017 (r440711) @@ -23,8 +23,6 @@ CONFIGURE_ENV= ac_cv_lib_Xm_XmCreateBull 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 Modified: head/games/acm/files/patch-dis_lib_xdr_var_array.c ============================================================================== --- head/games/acm/files/patch-dis_lib_xdr_var_array.c Fri May 12 20:27:52 2017 (r440710) +++ head/games/acm/files/patch-dis_lib_xdr_var_array.c Fri May 12 20:38:45 2017 (r440711) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705122038.v4CKcj4c022031>