Date: Sun, 9 Jul 2006 02:12:13 +0100 From: Shaun Amott <shaun@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: handler@grendel.net Subject: ports/99949: security/sfs: Fix build on !386 Message-ID: <1152407533.3026@charon.picobyte.net> Resent-Message-ID: <200607090120.k691KEEo023664@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 99949 >Category: ports >Synopsis: security/sfs: Fix build on !386 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 09 01:20:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Shaun Amott >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: >Description: - Fix build on !386 (sparc64, et al) >How-To-Repeat: >Fix: --- sfs.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/security/sfs/Makefile,v retrieving revision 1.23 diff -u -r1.23 Makefile --- Makefile 13 May 2006 04:15:15 -0000 1.23 +++ Makefile 8 Jul 2006 23:17:55 -0000 @@ -29,10 +29,6 @@ .include <bsd.port.pre.mk> -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" -.endif - .if ${OSVERSION} > 500000 LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4 CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} Index: files/patch-async_itree.h =================================================================== RCS file: files/patch-async_itree.h diff -N files/patch-async_itree.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-async_itree.h 8 Jul 2006 23:17:55 -0000 @@ -0,0 +1,11 @@ +--- async/itree.h.orig Sun Jul 9 00:14:16 2006 ++++ async/itree.h Sun Jul 9 00:15:07 2006 +@@ -86,7 +86,7 @@ + itree_core (const itree_core &); + itree_core &operator = (const itree_core &); + +-#define eos ((int) &(((T *) 0)->*field).p) ++#define eos ((ptrdiff_t) &(((T *) 0)->*field).p) + #define cmpfn scmp, (void *) this + + public: --- sfs.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1152407533.3026>