wok diff multitail/stuff/tail_busybox.patch @ rev 20894

corrected WGET_URL in espeak recipe
author Hans-G?nter Theisgen
date Tue Feb 26 13:36:27 2019 +0100 (2019-02-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/multitail/stuff/tail_busybox.patch	Tue Feb 26 13:36:27 2019 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +--- multitail-5.2.2.ori/Makefile	Mon May 19 11:19:09 2008
     1.5 ++++ multitail-5.2.2/Makefile	Wed May  6 15:37:03 2009
     1.6 +@@ -6,7 +6,7 @@
     1.7 + DEBUG=-g # -D_DEBUG # -pg #  -D_DEBUG  #-pg -W -pedantic # -pg #-fprofile-arcs
     1.8 + LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic
     1.9 + # LDFLAGS+=-lc_p -lpanel_g -lncurses_g -lutil -lm -pg -g -rdynamic
    1.10 +-CFLAGS+=-funsigned-char -D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
    1.11 ++CFLAGS+=-funsigned-char -D`uname` -D__Busybox__ -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
    1.12 + 
    1.13 + OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o
    1.14 + 
    1.15 +--- multitail-5.2.2.ori/exec.c	Mon May 19 11:19:09 2008
    1.16 ++++ multitail-5.2.2/exec.c	Wed May  6 15:34:59 2009
    1.17 +@@ -77,13 +77,15 @@
    1.18 + 		posix_version = getenv("_POSIX2_VERSION");
    1.19 + 
    1.20 + 		/* follow filename is only supported on *BSD and Linux */
    1.21 +-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__)
    1.22 ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) || defined(__Busybox__)
    1.23 + 		if (follow_filename)
    1.24 + 		{
    1.25 +-#if defined(linux) || defined(__CYGWIN__) || defined(__GNU__)
    1.26 ++#if !defined(__Busybox__) && (defined(linux) || defined(__CYGWIN__) || defined(__GNU__))
    1.27 + 			pars[npars++] = "--follow=name";
    1.28 + #elif defined(__OpenBSD__)
    1.29 + 			pars[npars++] = "-f";
    1.30 ++#elif defined(__Busybox__)
    1.31 ++			pars[npars++] = "-f";
    1.32 + #else
    1.33 + 			pars[npars++] = "-F";
    1.34 + #endif
    1.35 +@@ -95,7 +97,7 @@
    1.36 + 		else
    1.37 + #endif
    1.38 + 		{
    1.39 +-#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__)
    1.40 ++#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) && !defined(__Busybox__)
    1.41 + 			if (follow_filename && gnu_tail)
    1.42 + 				pars[npars++] = "--follow=name";
    1.43 + #endif