summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg>2013-03-28 21:24:53 +0000
committerjoerg <joerg>2013-03-28 21:24:53 +0000
commita6ab69eeff68ad87ca57bc40ecbfa1ec8611d50b (patch)
tree90fa9b2a12d24eaf30b84caf706bb6431deebf37 /editors
parent205fc8cd1a88bc947bc5b10ec840fd5f302c7410 (diff)
downloadpkgsrc-a6ab69eeff68ad87ca57bc40ecbfa1ec8611d50b.tar.gz
Fix return types.
Diffstat (limited to 'editors')
-rw-r--r--editors/ng/distinfo4
-rw-r--r--editors/ng/patches/patch-def.h15
-rw-r--r--editors/ng/patches/patch-sys_default_tty.c22
3 files changed, 40 insertions, 1 deletions
diff --git a/editors/ng/distinfo b/editors/ng/distinfo
index 456a779b724..c459924c770 100644
--- a/editors/ng/distinfo
+++ b/editors/ng/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2012/12/12 12:04:51 wiz Exp $
+$NetBSD: distinfo,v 1.8 2013/03/28 21:24:53 joerg Exp $
SHA1 (ng-1.4.4-replace_bug.patch) = 4d1b8abc0aa22b52951eb696427790cc75842842
RMD160 (ng-1.4.4-replace_bug.patch) = af945e81541b0b848350f46044176ba536d77f45
@@ -7,4 +7,6 @@ SHA1 (ng-1.4.4.tar.gz) = 35cfdd4ebe7ee4e48c4a6b9e64a52470f0ba2b63
RMD160 (ng-1.4.4.tar.gz) = dd041789d3fba92fe1c9906564a246c1f62cc34e
Size (ng-1.4.4.tar.gz) = 587018 bytes
SHA1 (patch-aa) = c78f7c9d1654262f612c6db25d5def2f8d2bbcfa
+SHA1 (patch-def.h) = dbb9367ac663abe8f980775167f206706ee542aa
+SHA1 (patch-sys_default_tty.c) = 6488cc08dcd0b952c6fa37fd713fddc8b532cf65
SHA1 (patch-sys_sysv_Makefile) = 75abfc306abe358a950a3854c660ee97052e2af4
diff --git a/editors/ng/patches/patch-def.h b/editors/ng/patches/patch-def.h
new file mode 100644
index 00000000000..5062145a7a6
--- /dev/null
+++ b/editors/ng/patches/patch-def.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-def.h,v 1.1 2013/03/28 21:24:54 joerg Exp $
+
+--- def.h.orig 2013-03-28 19:10:49.000000000 +0000
++++ def.h
+@@ -485,8 +485,8 @@ extern VOID putline pro((int, int, unsig
+ #endif
+ extern int vtputs pro((char *));
+ extern int kdispbufcode pro((BUFFER *));
+-extern int ttinsl pro((int, int, int));
+-extern int ttdell pro((int, int, int));
++extern void ttinsl pro((int, int, int));
++extern void ttdell pro((int, int, int));
+ extern int fepmode_off pro((void));
+ extern int getkey pro((int));
+ extern VOID ungetkey pro((int));
diff --git a/editors/ng/patches/patch-sys_default_tty.c b/editors/ng/patches/patch-sys_default_tty.c
new file mode 100644
index 00000000000..919e89fa603
--- /dev/null
+++ b/editors/ng/patches/patch-sys_default_tty.c
@@ -0,0 +1,22 @@
+$NetBSD: patch-sys_default_tty.c,v 1.1 2013/03/28 21:24:54 joerg Exp $
+
+--- sys/default/tty.c.orig 2013-03-28 19:10:58.000000000 +0000
++++ sys/default/tty.c
+@@ -272,7 +272,7 @@ ttbeep() {
+ * If no scrolling region, use a set
+ * of insert and delete line sequences
+ */
+-ttinsl(row, bot, nchunk) {
++void ttinsl(row, bot, nchunk) {
+ register int i, nl;
+
+ if (row == bot) { /* Case of one line insert is */
+@@ -311,7 +311,7 @@ ttinsl(row, bot, nchunk) {
+ * lines. The presence of the echo area makes a
+ * boundry condition go away.
+ */
+-ttdell(row, bot, nchunk)
++void ttdell(row, bot, nchunk)
+ {
+ register int i, nl;
+