Package: multitail Severity: important Version: 4.0.4-1 Tags: patch
Hi, the current version fails to build on GNU/kFreeBSD. It needs small tweak in my_pty.c, patch attached. It would also be nice if you can ask upstream to include this changes. Thanks in advance Petr
--- multitail-4.0.4.orig/my_pty.c +++ multitail-4.0.4/my_pty.c @@ -27,7 +27,7 @@ #ifdef __OpenBSD__ #include <util.h> #endif -#if defined(linux) || defined(__CYGWIN__) || defined(__GNU__) +#if defined(linux) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__) #include <pty.h> #endif #ifdef __FreeBSD__ @@ -75,7 +75,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(__GLIBC__) if (openpty(fd_master, fd_slave, NULL, NULL, NULL) == -1) {