From 30c38e8ca3cd76daec274505915c5bcb4f5d3031 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 5 Apr 2001 15:54:55 +0000 Subject: Standardize patch file names. --- textproc/unroff/files/patch-sum | 6 +++--- textproc/unroff/patches/patch-a | 35 ----------------------------------- textproc/unroff/patches/patch-aa | 35 +++++++++++++++++++++++++++++++++++ textproc/unroff/patches/patch-ab | 16 ++++++++++++++++ textproc/unroff/patches/patch-b | 16 ---------------- 5 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 textproc/unroff/patches/patch-a create mode 100644 textproc/unroff/patches/patch-aa create mode 100644 textproc/unroff/patches/patch-ab delete mode 100644 textproc/unroff/patches/patch-b (limited to 'textproc/unroff') diff --git a/textproc/unroff/files/patch-sum b/textproc/unroff/files/patch-sum index ee8e372fb6e..5c1dcd6c647 100644 --- a/textproc/unroff/files/patch-sum +++ b/textproc/unroff/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.2 1999/12/08 14:11:34 rh Exp $ +$NetBSD: patch-sum,v 1.3 2001/04/05 15:54:55 wiz Exp $ -MD5 (patch-a) = 59112d4a54370a6f33b25b1cf344b990 -MD5 (patch-b) = 8ed4dd1d29f2de484aebd05364c0feef +SHA1 (patch-aa) = ad1fc9788742fdc04b1994778734358415ee23ea +SHA1 (patch-ab) = 319ede5443c5b3edb3d8ebed0a01f4b723a14494 diff --git a/textproc/unroff/patches/patch-a b/textproc/unroff/patches/patch-a deleted file mode 100644 index 7081ac97fe6..00000000000 --- a/textproc/unroff/patches/patch-a +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-a,v 1.4 1999/12/08 14:11:34 rh Exp $ - ---- src/Makefile.orig Wed Aug 23 14:12:48 1995 -+++ src/Makefile Wed Dec 8 15:10:43 1999 -@@ -2,12 +2,12 @@ - - ### You need a C compiler that compiles ANSI C code. --CC = gcc --CFLAGS = -Wall -pedantic -O -+#CC = gcc -+#CFLAGS = -Wall -pedantic -O - - ### If you need additional linker flags add them here. --LDFLAGS = -+LDFLAGS = -s - - ### The directory where the Elk installation resides on your system. --ELKDIR = /usr/elk -+ELKDIR = ${PREFIX}/lib/elk - - ### Additional libraries. You may want to insert the output of the -@@ -19,5 +19,5 @@ - - ### The directory under which you will install the Scheme files. --DIR = /usr/local/lib/unroff -+DIR = ${PREFIX}/share/unroff - - ### The default output format. -@@ -31,5 +31,5 @@ - - SHELL = /bin/sh --INCLUDE = -I$(ELKDIR)/include -+INCLUDE = -I${PREFIX}/include/elk - ELK = $(ELKDIR)/lib/module.o - DEFS = -DDEFAULT_DIR=\"$(DIR)\" -DDEFAULT_FORMAT=\"$(FORMAT)\" diff --git a/textproc/unroff/patches/patch-aa b/textproc/unroff/patches/patch-aa new file mode 100644 index 00000000000..02162f9374c --- /dev/null +++ b/textproc/unroff/patches/patch-aa @@ -0,0 +1,35 @@ +$NetBSD: patch-aa,v 1.1 2001/04/05 15:54:57 wiz Exp $ + +--- src/Makefile.orig Wed Aug 23 14:12:48 1995 ++++ src/Makefile Wed Dec 8 15:10:43 1999 +@@ -2,12 +2,12 @@ + + ### You need a C compiler that compiles ANSI C code. +-CC = gcc +-CFLAGS = -Wall -pedantic -O ++#CC = gcc ++#CFLAGS = -Wall -pedantic -O + + ### If you need additional linker flags add them here. +-LDFLAGS = ++LDFLAGS = -s + + ### The directory where the Elk installation resides on your system. +-ELKDIR = /usr/elk ++ELKDIR = ${PREFIX}/lib/elk + + ### Additional libraries. You may want to insert the output of the +@@ -19,5 +19,5 @@ + + ### The directory under which you will install the Scheme files. +-DIR = /usr/local/lib/unroff ++DIR = ${PREFIX}/share/unroff + + ### The default output format. +@@ -31,5 +31,5 @@ + + SHELL = /bin/sh +-INCLUDE = -I$(ELKDIR)/include ++INCLUDE = -I${PREFIX}/include/elk + ELK = $(ELKDIR)/lib/module.o + DEFS = -DDEFAULT_DIR=\"$(DIR)\" -DDEFAULT_FORMAT=\"$(FORMAT)\" diff --git a/textproc/unroff/patches/patch-ab b/textproc/unroff/patches/patch-ab new file mode 100644 index 00000000000..2b59bdecef8 --- /dev/null +++ b/textproc/unroff/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1 2001/04/05 15:54:57 wiz Exp $ + +*** src/error.c Fri Jun 2 15:16:00 1995 +--- src/error.c Mon Feb 12 18:53:17 1996 +*************** +*** 39,45 **** +--- 39,47 ---- + + static char *strerr(void) { + extern int sys_nerr; ++ #ifndef BSD + extern char *sys_errlist[]; ++ #endif + + return errno > 0 && errno < sys_nerr ? + sys_errlist[errno] : "unknown error"; diff --git a/textproc/unroff/patches/patch-b b/textproc/unroff/patches/patch-b deleted file mode 100644 index 0ebdf144cad..00000000000 --- a/textproc/unroff/patches/patch-b +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-b,v 1.3 1998/08/07 11:14:14 agc Exp $ - -*** src/error.c Fri Jun 2 15:16:00 1995 ---- src/error.c Mon Feb 12 18:53:17 1996 -*************** -*** 39,45 **** ---- 39,47 ---- - - static char *strerr(void) { - extern int sys_nerr; -+ #ifndef BSD - extern char *sys_errlist[]; -+ #endif - - return errno > 0 && errno < sys_nerr ? - sys_errlist[errno] : "unknown error"; -- cgit v1.2.3