summaryrefslogtreecommitdiff
path: root/misc/multitail
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-24 19:05:40 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-24 19:05:40 +0000
commit5f504824c09cc360cb856d1b4d9efc105e8caacb (patch)
tree5eff708d11f82bfbb5e214c67226e22884ee00eb /misc/multitail
parent95f444e974932eee0f3aed9d3fa3e8f323237364 (diff)
downloadpkgsrc-5f504824c09cc360cb856d1b4d9efc105e8caacb.tar.gz
Add DragonFly support. When will the Large File Hacks for/from Linux
finally die?
Diffstat (limited to 'misc/multitail')
-rw-r--r--misc/multitail/distinfo6
-rw-r--r--misc/multitail/patches/patch-ab22
-rw-r--r--misc/multitail/patches/patch-ac13
-rw-r--r--misc/multitail/patches/patch-ad22
-rw-r--r--misc/multitail/patches/patch-ae13
5 files changed, 75 insertions, 1 deletions
diff --git a/misc/multitail/distinfo b/misc/multitail/distinfo
index fa51d55bb18..97dc198e7a3 100644
--- a/misc/multitail/distinfo
+++ b/misc/multitail/distinfo
@@ -1,6 +1,10 @@
-$NetBSD: distinfo,v 1.8 2006/02/23 23:01:00 rillig Exp $
+$NetBSD: distinfo,v 1.9 2006/02/24 19:05:40 joerg Exp $
SHA1 (multitail-3.8.6.tgz) = 993e40191a21ceb00470322124d589f9628d0a62
RMD160 (multitail-3.8.6.tgz) = e2f076ae7a695885a83d58129e0f4c62d6142c74
Size (multitail-3.8.6.tgz) = 75711 bytes
SHA1 (patch-aa) = 732b99c9efebecb2224d45520eb31bc4ec6314d6
+SHA1 (patch-ab) = cc943ce263a2d9ae567bcb4917f32249e441f924
+SHA1 (patch-ac) = 9a5ad3be1c7f68a7364d65260afa5a9f1d21993a
+SHA1 (patch-ad) = 43b8e33a970aa26f1f77565266314e1f512ca3fc
+SHA1 (patch-ae) = 1c8ec906c54cc0d7834fcd8f151dccd5ebe30398
diff --git a/misc/multitail/patches/patch-ab b/misc/multitail/patches/patch-ab
new file mode 100644
index 00000000000..b57d703c5d5
--- /dev/null
+++ b/misc/multitail/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.4 2006/02/24 19:05:40 joerg Exp $
+
+--- mt.c.orig 2006-02-24 19:01:46.000000000 +0000
++++ mt.c
+@@ -624,7 +624,7 @@ int start_tail(char *filename, char retr
+ posix_version = getenv("_POSIX2_VERSION");
+
+ /* follow filename is only supported on *BSD and Linux */
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) || defined(__DragonFly__)
+ if (follow_filename)
+ {
+ #if defined(linux) || defined(__CYGWIN__) || defined(__GNU__)
+@@ -2787,7 +2787,7 @@ void info(void)
+
+ mvwprintw(mywin -> win, 14, 1, "Press any key to exit this screen");
+
+-#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(sun) || defined(__GNU__)
++#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(sun) || defined(__GNU__) || defined(__DragonFly__)
+ for(;;)
+ {
+ char *dummy = get_load();
diff --git a/misc/multitail/patches/patch-ac b/misc/multitail/patches/patch-ac
new file mode 100644
index 00000000000..755b8c6c895
--- /dev/null
+++ b/misc/multitail/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/02/24 19:05:40 joerg Exp $
+
+--- mt.h.orig 2006-02-24 19:02:23.000000000 +0000
++++ mt.h
+@@ -35,7 +35,7 @@
+ #define getmaxyx(w,y,x) y = w->_maxy; x = w->_maxx
+ #endif
+
+-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__DragonFly__)
+ #define off64_t off_t
+ #define stat64 stat
+ #define open64 open
diff --git a/misc/multitail/patches/patch-ad b/misc/multitail/patches/patch-ad
new file mode 100644
index 00000000000..31e65414a0a
--- /dev/null
+++ b/misc/multitail/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2006/02/24 19:05:40 joerg Exp $
+
+--- my_pty.c.orig 2006-02-24 19:02:44.000000000 +0000
++++ my_pty.c
+@@ -29,7 +29,7 @@
+ #if defined(linux) || defined(__CYGWIN__) || defined(__GNU__)
+ #include <pty.h>
+ #endif
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ #include <libutil.h>
+ #endif
+ #ifdef sun
+@@ -74,7 +74,7 @@
+
+ int get_pty_and_fork(int *fd_master, int *fd_slave)
+ {
+-#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__)
++#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__DragonFly__)
+
+ if (openpty(fd_master, fd_slave, NULL, NULL, NULL) == -1)
+ {
diff --git a/misc/multitail/patches/patch-ae b/misc/multitail/patches/patch-ae
new file mode 100644
index 00000000000..89bbe13e3e6
--- /dev/null
+++ b/misc/multitail/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2006/02/24 19:05:40 joerg Exp $
+
+--- utils.c.orig 2006-02-24 19:03:20.000000000 +0000
++++ utils.c
+@@ -195,7 +195,7 @@ ssize_t WRITE(int fd, char *whereto, siz
+ */
+ char *get_load(void)
+ {
+-#if !defined(__UCLIBC__) && (defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__GNU__) || defined(sun))
++#if !defined(__UCLIBC__) && (defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__GNU__) || defined(sun) || defined(__DragonFly__))
+ double loadavg[3];
+ char *str = (char *)mymalloc(LOADAVG_STR_LEN, "loadavg string");
+