Subject: pkg/23533: lang/guile has no sparc support
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jdc@coris.org.uk>
List: netbsd-bugs
Date: 11/22/2003 11:38:47
>Number:         23533
>Category:       pkg
>Synopsis:       lang/guile has no sparc support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 22 11:39:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Julian Coleman
>Release:        NetBSD 1.6G (pkgsrc from Nov 13 2003)
>Organization:
@home
>Environment:
System: NetBSD orthanc.coris.org.uk 1.6G NetBSD 1.6G (SUN4M) #0: Mon Oct 7 10:44:35 BST 2002 root@mariner.coris.org.uk:/usr/obj/sys/arch/sparc/compile/SUN4M sparc
Architecture: sparc
Machine: sparc
>Description:
	lang/guile has no support for NetBSD/sparc, so fails to compile

>How-To-Repeat:
	mysparc$ cd /usr/pkgsrc/lang/guile && make

>Fix:
	Apply patch:

--- patches/patch-ae.dist	Tue Jan 21 15:17:55 2003
+++ patches/patch-ae	Sat Nov 22 08:01:29 2003
@@ -2,12 +2,17 @@
 
 --- libguile/gc_os_dep.c.orig	Sat Dec  7 23:41:31 2002
 +++ libguile/gc_os_dep.c
-@@ -93,6 +93,11 @@ typedef int GC_bool;
+@@ -93,6 +93,16 @@ typedef int GC_bool;
  #    define OPENBSD
  #    define mach_type_known
  # endif
 +# if defined(__NetBSD__) && defined(__powerpc__)
 +#    define POWERPC
++#    define NETBSD
++#    define mach_type_known
++# endif
++# if defined(__NetBSD__) && (defined(__sparc__) || defined(__sparc_v9__))
++#    define SPARC
 +#    define NETBSD
 +#    define mach_type_known
 +# endif
--- distinfo.dist	Sat Feb 22 11:09:41 2003
+++ distinfo	Sat Nov 22 08:02:32 2003
@@ -3,7 +3,7 @@
 SHA1 (guile-1.6.3.tar.gz) = 6b699dd79f41aa4f3555f70286f51f3824e4617e
 Size (guile-1.6.3.tar.gz) = 2780882 bytes
 SHA1 (patch-ad) = 180cb9e0f5dcd3e53f0b3b17d1ac0fc5016c1e36
-SHA1 (patch-ae) = 7f71ba48cd9025c10337771ce62f5fa257b66b67
+SHA1 (patch-ae) = d60c9b6d078c21ad702c690af0f4b5e08869bfe5
 SHA1 (patch-af) = 7d4f1934fe57efb4f8803f5e68e6a13569e836c0
 SHA1 (patch-ag) = 33735111e799c529f42cfa97a71be8dfaa56aa8b
 SHA1 (patch-ah) = e66596a5ecc5c2d4fd09833507499b4d02c7af8a
>Release-Note:
>Audit-Trail:
>Unformatted: