rpms/gc/F-9 gc-7.0-sparc.patch,NONE,1.1 gc.spec,1.28,1.29

Rex Dieter rdieter at fedoraproject.org
Wed Oct 15 13:01:56 UTC 2008


Author: rdieter

Update of /cvs/pkgs/rpms/gc/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30818

Modified Files:
	gc.spec 
Added Files:
	gc-7.0-sparc.patch 
Log Message:
sparc patch


gc-7.0-sparc.patch:

--- NEW FILE gc-7.0-sparc.patch ---
--- gc-7.0/configure.ac.BAD	2007-08-30 17:31:16.000000000 -0400
+++ gc-7.0/configure.ac	2007-08-30 17:31:44.000000000 -0400
@@ -395,6 +395,9 @@
  sparc-*-netbsd*)
     machdep="mach_dep.lo sparc_netbsd_mach_dep.lo"
     ;;
+ sparc*-*-linux*)
+    machdep="mach_dep.lo sparc_mach_dep.lo"
+    ;;
  sparc-sun-solaris2.3)
     machdep="mach_dep.lo sparc_mach_dep.lo"
     AC_DEFINE(SUNOS53_SHARED_LIB)
--- gc-7.0/configure.BAD	2007-08-30 17:30:32.000000000 -0400
+++ gc-7.0/configure	2007-08-30 17:31:00.000000000 -0400
@@ -6143,6 +6143,9 @@
  sparc-*-netbsd*)
     machdep="mach_dep.lo sparc_netbsd_mach_dep.lo"
     ;;
+ sparc*-*-linux*)
+    machdep="mach_dep.lo sparc_mach_dep.lo"
+    ;;
  sparc-sun-solaris2.3)
     machdep="mach_dep.lo sparc_mach_dep.lo"
     cat >>confdefs.h <<\_ACEOF
--- gc-7.0/mach_dep.c.BAD	2007-08-30 19:49:38.000000000 -0400
+++ gc-7.0/mach_dep.c	2007-08-30 19:51:58.000000000 -0400
@@ -174,9 +174,10 @@
 
 #   if defined(HAVE_PUSH_REGS)
       GC_push_regs();
-#   elif defined(UNIX_LIKE) && !defined(DARWIN) && !defined(ARM32)
+#   elif defined(UNIX_LIKE) && !defined(DARWIN) && !defined(ARM32) && !defined(SPARC)
       /* Older versions of Darwin seem to lack getcontext(). */
       /* ARM Linux often doesn't support a real getcontext(). */
+      /* SPARC 32bit Linux doesn't support getcontext(). */
       ucontext_t ctxt;
       if (getcontext(&ctxt) < 0)
 	ABORT ("Getcontext failed: Use another register retrieval method?");


Index: gc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gc/F-9/gc.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- gc.spec	8 Feb 2008 21:26:17 -0000	1.28
+++ gc.spec	15 Oct 2008 13:01:26 -0000	1.29
@@ -13,6 +13,7 @@
 Patch1: gc-7.0-gcinit.patch
 # http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2007-August/001838.html
 Patch2: gc-7.0-compat_header.patch 
+Patch3: gc-7.0-sparc.patch
 
 BuildRequires: gawk
 
@@ -40,6 +41,7 @@
 
 %patch1 -p1 -b .gcinit
 %patch2 -p1 -b .compat_header
+%patch3 -p1 -b .sparc
 
 
 %build




More information about the scm-commits mailing list