From 0a3dc72632fb040c674247f1337bdde57a9c96cd Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 11 Mar 2005 21:22:24 +0000 Subject: Added two patches that are necessary for NetBSD-1.6.2. Approved by wiz. In NetBSD-1.6.2, the header uses the word bufsize as a parameter name in a function prototype. The "file.h" header #defines bufsize to 4096, which leads to a parser error. --- editors/hnb/distinfo | 4 +++- editors/hnb/patches/patch-aa | 27 +++++++++++++++++++++++++++ editors/hnb/patches/patch-ab | 27 +++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 editors/hnb/patches/patch-aa create mode 100644 editors/hnb/patches/patch-ab (limited to 'editors') diff --git a/editors/hnb/distinfo b/editors/hnb/distinfo index e4bcd3b09e6..12e70418a67 100644 --- a/editors/hnb/distinfo +++ b/editors/hnb/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 17:15:11 agc Exp $ +$NetBSD: distinfo,v 1.4 2005/03/11 21:22:24 rillig Exp $ SHA1 (hnb-1.9.17.tar.gz) = b5204a9bda13b42ef04921e71f52e5bfe5412f13 RMD160 (hnb-1.9.17.tar.gz) = 1363eac8a785a3bad2ac319ae38726cd826268cf Size (hnb-1.9.17.tar.gz) = 143700 bytes +SHA1 (patch-aa) = f44cef4b2a3ccf20513420a1f57946e342aa2ee3 +SHA1 (patch-ab) = 9c87fbe5ddfb7525941cb8e1d66d377fbe726811 diff --git a/editors/hnb/patches/patch-aa b/editors/hnb/patches/patch-aa new file mode 100644 index 00000000000..2fe423133c9 --- /dev/null +++ b/editors/hnb/patches/patch-aa @@ -0,0 +1,27 @@ +$NetBSD: patch-aa,v 1.3 2005/03/11 21:22:24 rillig Exp $ + +In NetBSD-1.6.2, the header uses the word bufsize as a +parameter name in a function prototype. The "file.h" header #defines +bufsize to 4096, which leads to a parser error. + +--- src/cal.c.orig Sun Mar 9 19:18:01 2003 ++++ src/cal.c Fri Mar 11 20:07:15 2005 +@@ -19,14 +19,14 @@ + */ + + /**************/ ++#include ++#include ++#include ++ + #include "tree.h" + #include "cli.h" + #include "ui.h" + #include "file.h" +- +-#include +-#include +-#include + + static char *const wday[] = + { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", " "}; diff --git a/editors/hnb/patches/patch-ab b/editors/hnb/patches/patch-ab new file mode 100644 index 00000000000..418642ea9cb --- /dev/null +++ b/editors/hnb/patches/patch-ab @@ -0,0 +1,27 @@ +$NetBSD: patch-ab,v 1.3 2005/03/11 21:22:24 rillig Exp $ + +In NetBSD-1.6.2, the header uses the word bufsize as a +parameter name in a function prototype. The "file.h" header #defines +bufsize to 4096, which leads to a parser error. + +--- src/ui_cli.c.orig Fri Mar 14 05:55:14 2003 ++++ src/ui_cli.c Fri Mar 11 20:19:55 2005 +@@ -22,14 +22,15 @@ + #include + #endif + ++#include ++#include ++#include ++ + #include "tree.h" + #include "file.h" + #include "path.h" + #include "prefs.h" + #include "cli.h" +-#include +-#include +-#include + #include "ui_cli.h" + + -- cgit v1.2.3