pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/kterm Bring this a bit nearer to ANSI C to unbreak...
details: https://anonhg.NetBSD.org/pkgsrc/rev/96a7c547c96c
branches: trunk
changeset: 503765:96a7c547c96c
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Nov 29 06:18:52 2005 +0000
description:
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:
x11/kterm/distinfo | 4 +++-
x11/kterm/patches/patch-ac | 12 ++++++++++++
x11/kterm/patches/patch-ae | 22 ++++++++++++++++++++++
3 files changed, 37 insertions(+), 1 deletions(-)
diffs (58 lines):
diff -r 58837dad7dcf -r 96a7c547c96c x11/kterm/distinfo
--- a/x11/kterm/distinfo Tue Nov 29 04:40:38 2005 +0000
+++ b/x11/kterm/distinfo Tue Nov 29 06:18:52 2005 +0000
@@ -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 @@
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 -r 58837dad7dcf -r 96a7c547c96c x11/kterm/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kterm/patches/patch-ac Tue Nov 29 06:18:52 2005 +0000
@@ -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 -r 58837dad7dcf -r 96a7c547c96c x11/kterm/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kterm/patches/patch-ae Tue Nov 29 06:18:52 2005 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index