summaryrefslogtreecommitdiff
path: root/lang/elk/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-17 11:18:40 +0000
committeragc <agc@pkgsrc.org>1999-08-17 11:18:40 +0000
commit101d40c840e7a5ffe20e7e2ccc9fe4e30933788a (patch)
tree0b36df6d69d03f983c804ab1de8bce92c9d80655 /lang/elk/patches
parentc707da0974182976efe8453381ed32a4206e49ae (diff)
downloadpkgsrc-101d40c840e7a5ffe20e7e2ccc9fe4e30933788a.tar.gz
Use USE_X11 in Makefile to show that this package links with X11
headers and libs. Make this package work on Solaris. Use the same "pkgsrc" configuration file for locations of objects on NetBSD (both ELF and a.out) and Solaris. Use a Makefile target, rather than a separate script. Avoid clash with ALIGN definition in <sys/param.h>
Diffstat (limited to 'lang/elk/patches')
-rw-r--r--lang/elk/patches/patch-aa (renamed from lang/elk/patches/patch-a)2
-rw-r--r--lang/elk/patches/patch-ab (renamed from lang/elk/patches/patch-b)2
-rw-r--r--lang/elk/patches/patch-ac (renamed from lang/elk/patches/patch-c)6
-rw-r--r--lang/elk/patches/patch-ad (renamed from lang/elk/patches/patch-d)2
-rw-r--r--lang/elk/patches/patch-ae (renamed from lang/elk/patches/patch-e)2
-rw-r--r--lang/elk/patches/patch-af (renamed from lang/elk/patches/patch-f)2
-rw-r--r--lang/elk/patches/patch-ag18
-rw-r--r--lang/elk/patches/patch-ah29
-rw-r--r--lang/elk/patches/patch-ai15
-rw-r--r--lang/elk/patches/patch-aj15
10 files changed, 85 insertions, 8 deletions
diff --git a/lang/elk/patches/patch-a b/lang/elk/patches/patch-aa
index 42e89182c10..d79ebd12aba 100644
--- a/lang/elk/patches/patch-a
+++ b/lang/elk/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-a,v 1.3 1998/08/07 11:08:55 agc Exp $
+$NetBSD: patch-aa,v 1.1 1999/08/17 11:18:40 agc Exp $
*** doc/man/elk.1.orig Thu Apr 6 14:40:07 1995
--- doc/man/elk.1 Thu Apr 6 14:41:02 1995
diff --git a/lang/elk/patches/patch-b b/lang/elk/patches/patch-ab
index ae1638f3024..b5c6748b296 100644
--- a/lang/elk/patches/patch-b
+++ b/lang/elk/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-b,v 1.2 1998/08/07 11:08:55 agc Exp $
+$NetBSD: patch-ab,v 1.1 1999/08/17 11:18:40 agc Exp $
--- /dev/null Fri Mar 27 13:45:57 1998
+++ config/untested/aout-netbsd-cc Tue Mar 31 10:03:57 1998
diff --git a/lang/elk/patches/patch-c b/lang/elk/patches/patch-ac
index 1a4a187fa14..b17f8263d2e 100644
--- a/lang/elk/patches/patch-c
+++ b/lang/elk/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-c,v 1.3 1998/08/07 11:08:55 agc Exp $
+$NetBSD: patch-ac,v 1.1 1999/08/17 11:18:41 agc Exp $
*** config/sites/386pc-freebsd2.1 Thu Jan 1 01:00:00 1970
--- config/sites/386pc-freebsd2.1 Wed Mar 8 19:19:43 1995
@@ -461,7 +461,7 @@ $NetBSD: patch-c,v 1.3 1998/08/07 11:08:55 agc Exp $
+
+ getgroups_type=gid_t
--- /dev/null Fri Mar 27 13:45:57 1998
-+++ config/sites/aout-netbsd Tue Mar 31 10:24:13 1998
++++ config/sites/pkgsrc Tue Mar 31 10:24:13 1998
@@ -0,0 +1,80 @@
+# This is a shell script. It is sourced by the build scripts in the
+# various subdirectories to gather site- and installation-specific
@@ -530,7 +530,7 @@ $NetBSD: patch-c,v 1.3 1998/08/07 11:08:55 agc Exp $
+# C compiler flags required to compile a program using gdbm.
+
+gdbm=
-+gdbm_incl=-I${PREFIX}/include/gdbm
++gdbm_incl=-I${PREFIX}/include
+
+
+# Do you want to use the generational garbage collector? If not, the
diff --git a/lang/elk/patches/patch-d b/lang/elk/patches/patch-ad
index 84ae97938fe..e83159460a6 100644
--- a/lang/elk/patches/patch-d
+++ b/lang/elk/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-d,v 1.3 1998/08/07 11:08:55 agc Exp $
+$NetBSD: patch-ad,v 1.1 1999/08/17 11:18:41 agc Exp $
*** src/dump-vanilla.c.orig Thu Jun 29 13:55:51 1995
--- src/dump-vanilla.c Thu Sep 7 15:00:35 1995
diff --git a/lang/elk/patches/patch-e b/lang/elk/patches/patch-ae
index 7be1585c2f8..42233818873 100644
--- a/lang/elk/patches/patch-e
+++ b/lang/elk/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-e,v 1.3 1998/08/07 11:08:56 agc Exp $
+$NetBSD: patch-ae,v 1.1 1999/08/17 11:18:41 agc Exp $
*** src/load-dl.c Sun Dec 17 15:45:40 1995
--- src/load-dl.c Sun Dec 17 15:46:22 1995
diff --git a/lang/elk/patches/patch-f b/lang/elk/patches/patch-af
index d54c04ccc79..f85d3f01c2d 100644
--- a/lang/elk/patches/patch-f
+++ b/lang/elk/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-f,v 1.2 1998/08/07 11:08:56 agc Exp $
+$NetBSD: patch-af,v 1.1 1999/08/17 11:18:41 agc Exp $
--- include/build 1998/03/31 09:49:53 1.1
+++ include/build 1998/03/31 09:53:47
diff --git a/lang/elk/patches/patch-ag b/lang/elk/patches/patch-ag
new file mode 100644
index 00000000000..82f28f9c6cc
--- /dev/null
+++ b/lang/elk/patches/patch-ag
@@ -0,0 +1,18 @@
+$NetBSD: patch-ag,v 1.1 1999/08/17 11:18:41 agc Exp $
+
+Avoid conflicts with the definition in <sys/param.h>
+
+--- include/misc.h 1999/08/17 08:00:50 1.1
++++ include/misc.h 1999/08/17 08:01:01
+@@ -38,9 +38,9 @@
+
+ /* Align heap addresses */
+ #ifdef ALIGN_8BYTE
+-# define ALIGN(ptr) ((ptr) = (char *)(((long)(ptr) + 7) & ~7))
++# define ELK_ALIGN(ptr) ((ptr) = (char *)(((long)(ptr) + 7) & ~7))
+ #else
+-# define ALIGN(ptr) ((ptr) = (char *)(((long)(ptr) + 3) & ~3))
++# define ELK_ALIGN(ptr) ((ptr) = (char *)(((long)(ptr) + 3) & ~3))
+ #endif
+
+ /* Normalize stack addresses */
diff --git a/lang/elk/patches/patch-ah b/lang/elk/patches/patch-ah
new file mode 100644
index 00000000000..4a6cf7df5c4
--- /dev/null
+++ b/lang/elk/patches/patch-ah
@@ -0,0 +1,29 @@
+$NetBSD: patch-ah,v 1.1 1999/08/17 11:18:41 agc Exp $
+
+Avoid conflicts with the definition in <sys/param.h>
+
+--- src/heap-sc.c 1999/08/17 08:01:56 1.1
++++ src/heap-sc.c 1999/08/17 08:02:34
+@@ -37,11 +37,11 @@
+ (void)P_Collect ();
+ p = Hp;
+ }
+- ALIGN(p);
++ ELK_ALIGN(p);
+ if (p + size > Heap_End) {
+ (void)P_Collect ();
+ p = Hp;
+- ALIGN(p);
++ ELK_ALIGN(p);
+ if (p + size > Heap_End - HEAP_MARGIN)
+ Uncatchable_Error ("Out of heap space");
+ }
+@@ -108,7 +108,7 @@
+ SETPOINTER(*p, POINTER(*tag));
+ return;
+ }
+- ALIGN(To);
++ ELK_ALIGN(To);
+ switch (t) {
+ case T_Bignum:
+ size = sizeof (struct S_Bignum) - sizeof (gran_t)
diff --git a/lang/elk/patches/patch-ai b/lang/elk/patches/patch-ai
new file mode 100644
index 00000000000..9e806e3468a
--- /dev/null
+++ b/lang/elk/patches/patch-ai
@@ -0,0 +1,15 @@
+$NetBSD: patch-ai,v 1.1 1999/08/17 11:18:41 agc Exp $
+
+Avoid conflicts with the definition in <sys/param.h>
+
+--- src/list.c 1999/08/17 08:01:56 1.1
++++ src/list.c 1999/08/17 08:02:37
+@@ -23,7 +23,7 @@
+ register char *p;
+
+ p = Hp;
+- ALIGN(p);
++ ELK_ALIGN(p);
+ if (p + sizeof (struct S_Pair) <= Heap_End && !GC_Debug) {
+ Hp = p + sizeof (struct S_Pair);
+ SET(cell, T_Pair, (struct S_Pair *)p);
diff --git a/lang/elk/patches/patch-aj b/lang/elk/patches/patch-aj
new file mode 100644
index 00000000000..c54e29d991b
--- /dev/null
+++ b/lang/elk/patches/patch-aj
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.1 1999/08/17 11:18:41 agc Exp $
+
+Avoid conflicts with the definition in <sys/param.h>
+
+--- src/main.c 1999/08/17 08:01:56 1.1
++++ src/main.c 1999/08/17 08:02:42
+@@ -196,7 +196,7 @@
+
+ stkbase = &foo;
+ Stack_Grows_Down = Check_Stack_Grows_Down ();
+- ALIGN(stkbase);
++ ELK_ALIGN(stkbase);
+ Make_Heap (heap);
+ Init_Everything ();
+ #ifdef ATEXIT