summaryrefslogtreecommitdiff
path: root/x11/kterm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-11-29 06:18:52 +0000
committerjoerg <joerg@pkgsrc.org>2005-11-29 06:18:52 +0000
commit4d7bb9ad02cb8a3bfdfeb98f49e96a690b94e25c (patch)
tree48b7e4fe10651d1e7a870713beca530c5c27a76c /x11/kterm
parentece7563b5163f050eb3dd0590ed7192ff06b8df3 (diff)
downloadpkgsrc-4d7bb9ad02cb8a3bfdfeb98f49e96a690b94e25c.tar.gz
Bring this a bit nearer to ANSI C to unbreak compilation on DragonFly.
Namely, use errno from errno.h, malloc, realloc and exit from stdlib.h.
Diffstat (limited to 'x11/kterm')
-rw-r--r--x11/kterm/distinfo4
-rw-r--r--x11/kterm/patches/patch-ac12
-rw-r--r--x11/kterm/patches/patch-ae22
3 files changed, 37 insertions, 1 deletions
diff --git a/x11/kterm/distinfo b/x11/kterm/distinfo
index c75df6011ff..d1f1d5d1196 100644
--- a/x11/kterm/distinfo
+++ b/x11/kterm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2005/06/01 19:48:32 wiz Exp $
+$NetBSD: distinfo,v 1.18 2005/11/29 06:18:52 joerg Exp $
SHA1 (kterm-6.2.0.tar.gz) = 23b612254e9f7c9f5e233a4bcacc651887a3f7ee
RMD160 (kterm-6.2.0.tar.gz) = d23c755f119b5602a3c6f6ac97e27e10c43a8bfe
@@ -14,4 +14,6 @@ RMD160 (KTerm-BGP-1.0.patch.gz) = 0ebf751938da6b2a31739f3c6542941ea2fe7227
Size (KTerm-BGP-1.0.patch.gz) = 6582 bytes
SHA1 (patch-aa) = 6afc18d4c35f86077e00d3444d8ba6953463f073
SHA1 (patch-ab) = 011b1fc5033f61784e57030c78f6cca5a82722d1
+SHA1 (patch-ac) = 926a43c2bb1b78cd87dae39b10800a1e7cdfe0ce
SHA1 (patch-ad) = d85043a7b7a31f50ff92fe574fb4649f57d7bb66
+SHA1 (patch-ae) = 52a2e974fee9330465f3036267bb99fd8df40f67
diff --git a/x11/kterm/patches/patch-ac b/x11/kterm/patches/patch-ac
new file mode 100644
index 00000000000..48900260a92
--- /dev/null
+++ b/x11/kterm/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.3 2005/11/29 06:18:52 joerg Exp $
+
+--- data.h.orig 2005-11-29 06:09:00.000000000 +0000
++++ data.h
+@@ -65,7 +65,6 @@ extern int bcnt;
+ #ifdef DEBUG
+ extern int debug;
+ #endif /* DEBUG */
+-extern int errno;
+ extern int max_plus1;
+ extern int switchfb[];
+
diff --git a/x11/kterm/patches/patch-ae b/x11/kterm/patches/patch-ae
new file mode 100644
index 00000000000..8ce7163552d
--- /dev/null
+++ b/x11/kterm/patches/patch-ae
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1 2005/11/29 06:18:52 joerg Exp $
+
+--- charproc.c.orig 2005-11-29 06:09:50.000000000 +0000
++++ charproc.c
+@@ -71,6 +71,7 @@ in this Software without prior written a
+ #define Select select
+ #endif
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <errno.h>
+ #include <setjmp.h>
+ #include <ctype.h>
+@@ -101,9 +102,6 @@ extern jmp_buf VTend;
+
+ extern XtAppContext app_con;
+ extern Widget toplevel;
+-extern void exit();
+-extern char *malloc();
+-extern char *realloc();
+ extern fd_set Select_mask;
+ extern fd_set X_mask;
+ extern fd_set pty_mask;