OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 01-Aug-2003 17:25:30
Branch: HEAD Handle: 2003080116252801
Added files:
openpkg-src/guile guile.patch
Modified files:
openpkg-src/guile guile.spec
openpkg-web news.txt
Log:
add sparc/alpha patches from FreeBSD port
Summary:
Revision Changes Path
1.1 +51 -0 openpkg-src/guile/guile.patch
1.35 +3 -1 openpkg-src/guile/guile.spec
1.6001 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/guile/guile.patch
============================================================================
$ cvs diff -u -r0 -r1.1 guile.patch
--- /dev/null 2003-08-01 17:25:30.000000000 +0200
+++ guile.patch 2003-08-01 17:25:30.000000000 +0200
@@ -0,0 +1,51 @@
+--- libguile/__scm.h.orig Sat Apr 12 14:16:08 2003
++++ libguile/__scm.h Sun Jun 1 16:32:36 2003
+@@ -354,7 +354,8 @@
+ * that all the state of the process is contained in the stack.
+ */
+
+-#if defined (sparc) || defined (__sparc__) || defined (__sparc)
++#if (defined (sparc) || defined (__sparc__) || defined (__sparc)) && \
++ (!defined(__FreeBSD__))
+ # define SCM_FLUSH_REGISTER_WINDOWS asm("ta 3")
+ #else
+ # define SCM_FLUSH_REGISTER_WINDOWS /* empty */
+--- libguile/gc_os_dep.c.orig Wed Apr 16 13:16:21 2003
++++ libguile/gc_os_dep.c Thu May 22 20:41:37 2003
+@@ -93,6 +93,14 @@
+ # define OPENBSD
+ # define mach_type_known
+ # endif
++# if defined(__FreeBSD__) && defined(__sparc__)
++# define FREEBSD
++# include <machine/frame.h>
++# define ALIGNMENT 8
++# define CPP_WORDSZ 64
++# define ALIGN_DOUBLE
++# define mach_type_known
++# endif
+ # if defined(__NetBSD__) && defined(__powerpc__)
+ # define POWERPC
+ # define NETBSD
+@@ -225,7 +233,11 @@
+ # define ARM32
+ # define mach_type_known
+ # endif
+-# if defined(__alpha) || defined(__alpha__)
++# if defined(__FreeBSD__) && defined(__alpha__)
++# define FREEBSD
++# define ALPHA
++# define mach_type_known
++# elif defined(__alpha) || defined(__alpha__)
+ # define ALPHA
+ # if !defined(LINUX)
+ # define OSF1 /* a.k.a Digital Unix */
+@@ -1468,7 +1480,7 @@
+ # include <setjmp.h>
+ #endif
+
+-#ifdef FREEBSD
++#if defined(FREEBSD) && defined(I386)
+ # include <machine/trap.h>
+ #endif
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/guile/guile.spec
============================================================================
$ cvs diff -u -r1.34 -r1.35 guile.spec
--- openpkg-src/guile/guile.spec 8 Jul 2003 14:39:56 -0000 1.34
+++ openpkg-src/guile/guile.spec 1 Aug 2003 15:25:29 -0000 1.35
@@ -33,10 +33,11 @@
Group: Language
License: GPL
Version: 1.6.4
-Release: 20030422
+Release: 20030801
# list of sources
Source0: ftp://ftp.gnu.org/gnu/guile/guile-%{version}.tar.gz
+Patch0: guile.patch
# build information
Prefix: %{l_prefix}
@@ -52,6 +53,7 @@
%prep
%setup -q
+ %patch
%build
opt="%{l_cflags -O}"
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.6000 -r1.6001 news.txt
--- openpkg-web/news.txt 1 Aug 2003 12:37:33 -0000 1.6000
+++ openpkg-web/news.txt 1 Aug 2003 15:25:28 -0000 1.6001
@@ -1,3 +1,4 @@
+01-Aug-2003: Upgraded package: P<guile-1.6.4-20030801>
01-Aug-2003: Upgraded package: P<spread-3.17.1-20030801>
01-Aug-2003: Upgraded package: P<emacs-21.3-20030801>
01-Aug-2003: Upgraded package: P<ddd-3.3.7-20030801>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]