summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/cdecl/files/patch-sum6
-rw-r--r--devel/cdecl/patches/patch-aa21
-rw-r--r--devel/cdecl/patches/patch-ab16
3 files changed, 20 insertions, 23 deletions
diff --git a/devel/cdecl/files/patch-sum b/devel/cdecl/files/patch-sum
index 12885204c43..d71f8d56c33 100644
--- a/devel/cdecl/files/patch-sum
+++ b/devel/cdecl/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 1999/11/11 12:53:17 agc Exp $
+$NetBSD: patch-sum,v 1.2 1999/11/26 13:58:31 hubertf Exp $
-MD5 (patch-aa) = 4351b57f3281be0a9e9292b571fe0a89
-MD5 (patch-ab) = 37098d58b58154b99330e85ab98c67fd
+MD5 (patch-aa) = 39ce020c538081d405994c712acfe6df
+MD5 (patch-ab) = 1e6ac72aa3c5ab872ad03212bbcc9a14
diff --git a/devel/cdecl/patches/patch-aa b/devel/cdecl/patches/patch-aa
index 118bf88ed45..36bb4a61d83 100644
--- a/devel/cdecl/patches/patch-aa
+++ b/devel/cdecl/patches/patch-aa
@@ -1,9 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/11/11 12:53:17 agc Exp $
+$NetBSD: patch-aa,v 1.2 1999/11/26 13:58:33 hubertf Exp $
-Minor portability modifications for NetBSD and Solaris
-
---- cdecl.c 1999/11/11 12:16:45 1.1
-+++ cdecl.c 1999/11/11 12:25:39
+--- cdecl.c.orig Tue Jan 16 04:54:46 1996
++++ cdecl.c Fri Nov 26 15:02:00 1999
@@ -59,7 +59,9 @@
*/
@@ -15,7 +13,7 @@ Minor portability modifications for NetBSD and Solaris
#include <stdio.h>
#include <ctype.h>
#if __STDC__ || defined(DOS)
-@@ -71,8 +73,10 @@
+@@ -71,11 +73,12 @@
# ifndef NOVARARGS
# include <varargs.h>
# endif /* ndef NOVARARGS */
@@ -25,19 +23,22 @@ Minor portability modifications for NetBSD and Solaris
+#endif
# ifdef BSD
# include <strings.h>
- extern int errno;
-@@ -87,6 +91,10 @@
+- extern int errno;
+ # define strrchr rindex
+ # define NOTMPFILE
+ # else
+@@ -87,6 +90,10 @@
# endif /* NOVOID */
#endif /* __STDC__ || DOS */
-+#if defined(__svr4__) && defined(__sun__)
++#if defined(__svr4__) && defined(__sun__) || defined(__NetBSD__)
+#include <errno.h>
+#endif
+
#ifdef USE_READLINE
# include <readline/readline.h>
/* prototypes for functions related to readline() */
-@@ -124,7 +132,9 @@
+@@ -124,7 +131,9 @@
#if __STDC__
char *ds(char *), *cat(char *, ...), *visible(int);
diff --git a/devel/cdecl/patches/patch-ab b/devel/cdecl/patches/patch-ab
index dcd94100033..663fc38fecb 100644
--- a/devel/cdecl/patches/patch-ab
+++ b/devel/cdecl/patches/patch-ab
@@ -1,18 +1,14 @@
-$NetBSD: patch-ab,v 1.1.1.1 1999/11/11 12:53:17 agc Exp $
-
-Small portability mods.
-
---- Makefile 1999/11/11 12:30:44 1.1
-+++ Makefile 1999/11/11 12:32:11
+--- Makefile.orig Tue Jan 16 06:36:38 1996
++++ Makefile Fri Nov 26 15:04:05 1999
@@ -15,15 +15,17 @@
#
# add -DUSE_READLINE To compile in support for the GNU readline library.
-CFLAGS= -s -O2 -DUSE_READLINE
--CC= gcc
-+CFLAGS+= -I${PREFIX}/include -DUSE_READLINE
-+CC= gcc
- LIBS= -lreadline -ltermcap
++CFLAGS+= -I${LOCALBASE}/include -DUSE_READLINE
+ CC= gcc
+-LIBS= -lreadline -ltermcap
++LIBS= -L${LOCALBASE}/lib -lreadline -ltermcap
ALLFILES= makefile cdgram.y cdlex.l cdecl.c cdecl.1 testset testset++
-BINDIR= /usr/bin
-MANDIR= /usr/man/man1