pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/unroff Fix build on 2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b77108d1d56b
branches:  trunk
changeset: 477851:b77108d1d56b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jul 10 14:38:08 2004 +0000

description:
Fix build on 2.0.

diffstat:

 textproc/unroff/distinfo         |   4 ++--
 textproc/unroff/patches/patch-ab |  29 ++++++++++++++---------------
 2 files changed, 16 insertions(+), 17 deletions(-)

diffs (50 lines):

diff -r 904e56c62e64 -r b77108d1d56b textproc/unroff/distinfo
--- a/textproc/unroff/distinfo  Sat Jul 10 14:37:36 2004 +0000
+++ b/textproc/unroff/distinfo  Sat Jul 10 14:38:08 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2001/10/25 19:16:50 agc Exp $
+$NetBSD: distinfo,v 1.4 2004/07/10 14:38:08 wiz Exp $
 
 SHA1 (unroff/unroff-1.0.tar.gz) = bc8159ec7862de9f50666e79a538f46fdec4314c
 Size (unroff/unroff-1.0.tar.gz) = 83202 bytes
@@ -7,5 +7,5 @@
 SHA1 (unroff/misc-patch-2) = be14aea8569e30efdc25047f9c2497cb2c7ca96a
 Size (unroff/misc-patch-2) = 78714 bytes
 SHA1 (patch-aa) = ad1fc9788742fdc04b1994778734358415ee23ea
-SHA1 (patch-ab) = 319ede5443c5b3edb3d8ebed0a01f4b723a14494
+SHA1 (patch-ab) = 82eaf69d8df0098a1ae4fe64e533b34f0b51d3a6
 SHA1 (patch-ac) = a75301976655e2bfc928183b2f8168488c40c12e
diff -r 904e56c62e64 -r b77108d1d56b textproc/unroff/patches/patch-ab
--- a/textproc/unroff/patches/patch-ab  Sat Jul 10 14:37:36 2004 +0000
+++ b/textproc/unroff/patches/patch-ab  Sat Jul 10 14:38:08 2004 +0000
@@ -1,16 +1,15 @@
-$NetBSD: patch-ab,v 1.1 2001/04/05 15:54:57 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2004/07/10 14:38:08 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";
+--- src/error.c.orig   1995-06-02 15:16:00.000000000 +0200
++++ src/error.c
+@@ -38,8 +38,10 @@ void fatal_error(char *fmt, ...) {
+ }
+ 
+ static char *strerr(void) {
++#ifndef BSD
+     extern int sys_nerr;
+     extern char *sys_errlist[];
++#endif
+ 
+     return errno > 0 && errno < sys_nerr ?
+       sys_errlist[errno] : "unknown error";



Home | Main Index | Thread Index | Old Index