diff options
author | is <is@pkgsrc.org> | 2005-03-01 10:00:47 +0000 |
---|---|---|
committer | is <is@pkgsrc.org> | 2005-03-01 10:00:47 +0000 |
commit | 6564b7d2612381277947bee34912c778bf892b5f (patch) | |
tree | e0592faacc345e7afbe53a655098bf49776df258 /lang/sr/patches | |
parent | 1f575b173dfe85434e004331266831c49776c58d (diff) | |
download | pkgsrc-6564b7d2612381277947bee34912c778bf892b5f.tar.gz |
Clean up patches.
Diffstat (limited to 'lang/sr/patches')
-rw-r--r-- | lang/sr/patches/patch-ab | 6 | ||||
-rw-r--r-- | lang/sr/patches/patch-au | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/lang/sr/patches/patch-ab b/lang/sr/patches/patch-ab index 9f1bbb4e20c..cdda65e24e2 100644 --- a/lang/sr/patches/patch-ab +++ b/lang/sr/patches/patch-ab @@ -1,15 +1,15 @@ -$NetBSD: patch-ab,v 1.1.1.1 2005/02/25 15:54:59 is Exp $ +$NetBSD: patch-ab,v 1.2 2005/03/01 10:00:47 is Exp $ ---- arch.h.orig 1999-08-09 18:34:12.000000000 +0200 +--- arch.h.orig 1999-08-09 16:34:12.000000000 +0000 +++ arch.h @@ -7,6 +7,12 @@ * BIGCC arguments passed to CC to enlarge tree space (if needed) */ + ++/* here so that cpu-specific code below doesn't overwrite our choices */ +#if !defined(ARCH) && defined(__NetBSD__) +#define ARCH "NetBSD 2.0 and later" -+#define SFILE "i386.s" +#endif + #ifndef ARCH diff --git a/lang/sr/patches/patch-au b/lang/sr/patches/patch-au index 27629efba0e..17fbdac5ba0 100644 --- a/lang/sr/patches/patch-au +++ b/lang/sr/patches/patch-au @@ -1,16 +1,14 @@ -$NetBSD: patch-au,v 1.1.1.1 2005/02/25 15:54:59 is Exp $ +$NetBSD: patch-au,v 1.2 2005/03/01 10:00:47 is Exp $ ---- csw/netbsd.c.orig 2004-11-03 23:04:48.000000000 +0100 +--- csw/netbsd.c.orig 2005-03-01 09:35:06.000000000 +0000 +++ csw/netbsd.c -@@ -0,0 +1,118 @@ +@@ -0,0 +1,116 @@ +/* + * netbsd.c -- context switch code for NetBSD 2. + * + * Some Makefile changes are needed to use this code. + */ + -+#include <stdio.h> -+#include <stdlib.h> +#include <ucontext.h> + +static void startup(); |