pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/multitail Add DragonFly support. When will the La...
details: https://anonhg.NetBSD.org/pkgsrc/rev/518adea682df
branches: trunk
changeset: 508731:518adea682df
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Feb 24 19:05:40 2006 +0000
description:
Add DragonFly support. When will the Large File Hacks for/from Linux
finally die?
diffstat:
misc/multitail/distinfo | 6 +++++-
misc/multitail/patches/patch-ab | 22 ++++++++++++++++++++++
misc/multitail/patches/patch-ac | 13 +++++++++++++
misc/multitail/patches/patch-ad | 22 ++++++++++++++++++++++
misc/multitail/patches/patch-ae | 13 +++++++++++++
5 files changed, 75 insertions(+), 1 deletions(-)
diffs (101 lines):
diff -r f611389a5cb6 -r 518adea682df misc/multitail/distinfo
--- a/misc/multitail/distinfo Fri Feb 24 18:37:20 2006 +0000
+++ b/misc/multitail/distinfo Fri Feb 24 19:05:40 2006 +0000
@@ -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 -r f611389a5cb6 -r 518adea682df misc/multitail/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/multitail/patches/patch-ab Fri Feb 24 19:05:40 2006 +0000
@@ -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 -r f611389a5cb6 -r 518adea682df misc/multitail/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/multitail/patches/patch-ac Fri Feb 24 19:05:40 2006 +0000
@@ -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 -r f611389a5cb6 -r 518adea682df misc/multitail/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/multitail/patches/patch-ad Fri Feb 24 19:05:40 2006 +0000
@@ -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 -r f611389a5cb6 -r 518adea682df misc/multitail/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/multitail/patches/patch-ae Fri Feb 24 19:05:40 2006 +0000
@@ -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");
+
Home |
Main Index |
Thread Index |
Old Index