From owner-freebsd-ports@FreeBSD.ORG Tue Aug 25 03:55:11 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BFAA106568F for ; Tue, 25 Aug 2009 03:55:11 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id 3B8438FC0A for ; Tue, 25 Aug 2009 03:55:11 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Received: from macbook-pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KOW00HWAW3YF230@asmtp024.mac.com> for ports@FreeBSD.org; Mon, 24 Aug 2009 19:55:11 -0700 (PDT) From: Marcel Moolenaar Date: Mon, 24 Aug 2009 19:55:10 -0700 Message-id: <4D81F510-FC88-466E-9D19-50523F093897@mac.com> To: ports@FreeBSD.org X-Mailer: Apple Mail (2.1074) Cc: Subject: [PATCH] lang/guile: Fix ia64 build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 03:55:11 -0000 All, The diff below adds a new patch file to fix the ia64 build for libguile/gc.c. Ok to commit? Index: files/patch-libguile_gc.c =================================================================== RCS file: files/patch-libguile_gc.c diff -N files/patch-libguile_gc.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-libguile_gc.c 25 Aug 2009 02:52:33 -0000 @@ -0,0 +1,23 @@ +--- libguile/gc.c.orig 2008-12-08 09:42:54.000000000 -0800 ++++ libguile/gc.c 2009-08-20 22:55:11.000000000 -0700 +@@ -1060,6 +1060,20 @@ + return (void *) ctx->uc_mcontext.sc_ar_bsp; + } + # endif /* linux */ ++# ifdef __FreeBSD__ ++# include ++void * ++scm_ia64_register_backing_store_base (void) ++{ ++ return (void *)0x8000000000000000; ++} ++void * ++scm_ia64_ar_bsp (const void *opaque) ++{ ++ const ucontext_t *ctx = opaque; ++ return (void *)(ctx->uc_mcontext.mc_special.bspstore + ctx- >uc_mcontext.mc_special.ndirty); ++} ++# endif /* __FreeBSD__ */ + #endif /* __ia64__ */ + + void -- Marcel Moolenaar xcllnt@mac.com