pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/hnb Added two patches that are necessary for N...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e9fda5ecde2
branches:  trunk
changeset: 490464:2e9fda5ecde2
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Mar 11 21:22:24 2005 +0000

description:
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:

 editors/hnb/distinfo         |   4 +++-
 editors/hnb/patches/patch-aa |  27 +++++++++++++++++++++++++++
 editors/hnb/patches/patch-ab |  27 +++++++++++++++++++++++++++
 3 files changed, 57 insertions(+), 1 deletions(-)

diffs (74 lines):

diff -r 20bddbb8be37 -r 2e9fda5ecde2 editors/hnb/distinfo
--- a/editors/hnb/distinfo      Fri Mar 11 21:20:15 2005 +0000
+++ b/editors/hnb/distinfo      Fri Mar 11 21:22:24 2005 +0000
@@ -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 -r 20bddbb8be37 -r 2e9fda5ecde2 editors/hnb/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/hnb/patches/patch-aa      Fri Mar 11 21:22:24 2005 +0000
@@ -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 -r 20bddbb8be37 -r 2e9fda5ecde2 editors/hnb/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/hnb/patches/patch-ab      Fri Mar 11 21:22:24 2005 +0000
@@ -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"
+ 
+ 



Home | Main Index | Thread Index | Old Index