From kwm@ultra.rainbow-runner.nl  Sun Sep 12 19:38:47 2004
Return-Path: <kwm@ultra.rainbow-runner.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id C5E3916A4CE; Sun, 12 Sep 2004 19:38:47 +0000 (GMT)
Received: from ck408323-a.dokku1.fr.home.nl (ck408323-a.dokku1.fr.home.nl [217.122.140.78])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 5862F43D3F; Sun, 12 Sep 2004 19:38:47 +0000 (GMT)
	(envelope-from kwm@ultra.rainbow-runner.nl)
Received: by ck408323-a.dokku1.fr.home.nl (Postfix, from userid 65534)
	id 39BED6515; Sun, 12 Sep 2004 21:43:49 +0200 (CEST)
Received: from grover.engineering.tech.nhl.nl (unknown [141.252.180.40])
	(using SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by ck408323-a.dokku1.fr.home.nl (Postfix) with ESMTP id 64A556500;
	Sun, 12 Sep 2004 21:43:45 +0200 (CEST)
Received: from ultra.rainbow-runner.nl (unknown [141.252.171.58])
	by grover.engineering.tech.nhl.nl (Postfix) with ESMTP
	id 4EABAA762; Sun, 12 Sep 2004 21:38:39 +0200 (CEST)
Received: by ultra.rainbow-runner.nl (Postfix, from userid 1001)
	id 1A3BF61BE; Sun, 12 Sep 2004 21:38:29 +0200 (CEST)
Message-Id: <20040912193829.1A3BF61BE@ultra.rainbow-runner.nl>
Date: Sun, 12 Sep 2004 21:38:29 +0200 (CEST)
From: Koop Mast <kwm@rainbow-runner.nl>
Reply-To: Koop Mast <kwm@rainbow-runner.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc: portmgr@FreeBSD.org
Subject: Update: fix the build of guile on sparc64.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         71679
>Category:       ports
>Synopsis:       Update: fix the build of guile on sparc64.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 12 19:40:24 GMT 2004
>Closed-Date:    Sun Sep 12 19:49:23 GMT 2004
>Last-Modified:  Sun Sep 12 19:49:23 GMT 2004
>Originator:     Koop Mast
>Release:        FreeBSD 5.3-BETA4 sparc64
>Organization:
>Environment:
System: FreeBSD ultra.rainbow-runner.nl 5.3-BETA4 FreeBSD 5.3-BETA4 #26: Sat Sep 11 19:48:32 CEST 2004 root@ultra.rainbow-runner.nl:/usr/obj/usr/src/sys/BlackBird sparc64


	
>Description:
	Patch (well more a band aid) to get guile build on sparc64.
	I tried to make a better patch but that didn't work.
	After installing guile with this patch, I reinstalled gnomegames2
	(sol uses guile) and no problems.
	
>How-To-Repeat:
	
>Fix:

	

--- guile-pointyhat.diff begins here ---
diff -ruN guile.orig/files/patch-libguile_gc_os_dep.c guile/files/patch-libguile_gc_os_dep.c
--- guile.orig/files/patch-libguile_gc_os_dep.c	Sun Nov 23 19:13:58 2003
+++ guile/files/patch-libguile_gc_os_dep.c	Sun Sep 12 15:18:31 2004
@@ -1,5 +1,5 @@
---- libguile/gc_os_dep.c.orig	Wed Apr 16 16:16:21 2003
-+++ libguile/gc_os_dep.c	Sun Nov 23 13:09:53 2003
+--- libguile/gc_os_dep.c.orig	Wed Apr 16 22:16:21 2003
++++ libguile/gc_os_dep.c	Sun Sep 12 15:18:00 2004
 @@ -93,6 +93,14 @@
  #    define OPENBSD
  #    define mach_type_known
@@ -61,3 +61,12 @@
  #  include <machine/trap.h>
  #endif
  
+@@ -1501,7 +1530,7 @@
+ #endif
+ 
+ #ifdef SUNOS5SIGS
+-# include <sys/siginfo.h>
++/*# include <sys/siginfo.h>*/
+ # undef setjmp
+ # undef longjmp
+ # define setjmp(env) sigsetjmp(env, 1)
--- guile-pointyhat.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Sep 12 19:49:12 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71679 
>Unformatted:
