summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-03-11 21:22:24 +0000
committerrillig <rillig@pkgsrc.org>2005-03-11 21:22:24 +0000
commit0a3dc72632fb040c674247f1337bdde57a9c96cd (patch)
tree500a0e33cc99cb5e8890595491b4101731d7a986 /editors
parentdfd5cc37b043f2a31e153ed125a68b4a2d171503 (diff)
downloadpkgsrc-0a3dc72632fb040c674247f1337bdde57a9c96cd.tar.gz
Added two patches that are necessary for NetBSD-1.6.2. Approved by wiz.
In NetBSD-1.6.2, the <stdlib.h> 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.
Diffstat (limited to 'editors')
-rw-r--r--editors/hnb/distinfo4
-rw-r--r--editors/hnb/patches/patch-aa27
-rw-r--r--editors/hnb/patches/patch-ab27
3 files changed, 57 insertions, 1 deletions
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 <stdlib.h> 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 <stdlib.h>
++#include <stdio.h>
++#include <time.h>
++
+ #include "tree.h"
+ #include "cli.h"
+ #include "ui.h"
+ #include "file.h"
+-
+-#include <stdlib.h>
+-#include <stdio.h>
+-#include <time.h>
+
+ 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 <stdlib.h> 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 <config.h>
+ #endif
+
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++
+ #include "tree.h"
+ #include "file.h"
+ #include "path.h"
+ #include "prefs.h"
+ #include "cli.h"
+-#include <stdio.h>
+-#include <stdlib.h>
+-#include <string.h>
+ #include "ui_cli.h"
+
+