summaryrefslogtreecommitdiff
path: root/misc/xtail/patches
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2001-07-08 14:29:51 +0000
committersimonb <simonb@pkgsrc.org>2001-07-08 14:29:51 +0000
commit750578c2b2e0e28e1f78844b801f48ea6050d4ba (patch)
treee9d7632d638ec935ac2cca5f97384d4a5775d7ce /misc/xtail/patches
parente78ef1421c6cfab7d114d4a7540d9788139c48fc (diff)
downloadpkgsrc-750578c2b2e0e28e1f78844b801f48ea6050d4ba.tar.gz
Import xtail - tail multiple files at once.
Diffstat (limited to 'misc/xtail/patches')
-rw-r--r--misc/xtail/patches/patch-aa13
-rw-r--r--misc/xtail/patches/patch-ab22
2 files changed, 35 insertions, 0 deletions
diff --git a/misc/xtail/patches/patch-aa b/misc/xtail/patches/patch-aa
new file mode 100644
index 00000000000..b1b22b8e69e
--- /dev/null
+++ b/misc/xtail/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/07/08 14:29:51 simonb Exp $
+
+--- xtail.h.orig Mon Jun 5 17:13:22 2000
++++ xtail.h Mon Jul 9 00:21:41 2001
+@@ -112,7 +112,7 @@
+ char *name; /* pathname to the entry */
+ int fd; /* opened fd, or <= 0 if not opened */
+ long size; /* size of entry last time checked */
+- long mtime; /* modification time last time checked */
++ time_t mtime; /* modification time last time checked */
+ };
+
+ struct entry_list {
diff --git a/misc/xtail/patches/patch-ab b/misc/xtail/patches/patch-ab
new file mode 100644
index 00000000000..933d1761519
--- /dev/null
+++ b/misc/xtail/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/07/08 14:29:51 simonb Exp $
+
+--- miscfuncs.c.orig Mon Jun 5 17:13:22 2000
++++ miscfuncs.c Mon Jul 9 00:22:08 2001
+@@ -281,7 +281,7 @@
+ {
+ VOID *p;
+ if ((p = malloc(n)) == NULL) {
+- fprintf(stderr, "%s: malloc(%d) failed\n", Progname, n);
++ fprintf(stderr, "%s: malloc(%ld) failed\n", Progname, (long)n);
+ exit(2);
+ }
+ return p;
+@@ -291,7 +291,7 @@
+ {
+ VOID *p1;
+ if ((p1 = realloc(p, n)) == NULL) {
+- fprintf(stderr, "%s: realloc(%d) failed\n", Progname, n);
++ fprintf(stderr, "%s: realloc(%ld) failed\n", Progname, (long)n);
+ exit(2);
+ }
+ return p1;