From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 9 01:20:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF05216A599 for ; Sun, 9 Jul 2006 01:20:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4668543D4C for ; Sun, 9 Jul 2006 01:20:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k691KEj9023665 for ; Sun, 9 Jul 2006 01:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k691KEEo023664; Sun, 9 Jul 2006 01:20:14 GMT (envelope-from gnats) Resent-Date: Sun, 9 Jul 2006 01:20:14 GMT Resent-Message-Id: <200607090120.k691KEEo023664@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Shaun Amott Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A93BD16A4DE for ; Sun, 9 Jul 2006 01:12:15 +0000 (UTC) (envelope-from shaun@inerd.com) Received: from dione.picobyte.net (host-212-158-207-124.bulldogdsl.com [212.158.207.124]) by mx1.FreeBSD.org (Postfix) with SMTP id 1C4BC43D45 for ; Sun, 9 Jul 2006 01:12:14 +0000 (GMT) (envelope-from shaun@inerd.com) Received: from charon.picobyte.net (charon.picobyte.net [IPv6:2001:4bd0:201e::fe03]) by dione.picobyte.net (Postfix) with ESMTP; Sun, 9 Jul 2006 02:12:12 +0100 (BST) Message-Id: <1152407533.3026@charon.picobyte.net> Date: Sun, 9 Jul 2006 02:12:13 +0100 From: Shaun Amott To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: handler@grendel.net Subject: ports/99949: security/sfs: Fix build on !386 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Shaun Amott List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2006 01:20:17 -0000 >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 -.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: