wok-6.x rev 5892
setserial: fix build (http://bugs.gentoo.org/309883)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jul 22 10:00:04 2010 +0200 (2010-07-22) |
parents | 5c44261d9d9f |
children | 2491e5bd11d6 |
files | setserial/receipt setserial/stuff/setserial-2.17.u |
line diff
1.1 --- a/setserial/receipt Thu Jul 22 08:08:04 2010 +0200 1.2 +++ b/setserial/receipt Thu Jul 22 10:00:04 2010 +0200 1.3 @@ -14,6 +14,11 @@ 1.4 { 1.5 cd $src 1.6 mkdir -p _pkg/usr/bin 1.7 + 1.8 + # http://bugs.gentoo.org/309883 1.9 + # & remove warnings 1.10 + patch -p1 < ../stuff/setserial-2.17.u || exit 1 1.11 + 1.12 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.13 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.14 make $PACKAGE &&
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/setserial/stuff/setserial-2.17.u Thu Jul 22 10:00:04 2010 +0200 2.3 @@ -0,0 +1,24 @@ 2.4 +--- setserial-2.17-ori/setserial.c.orig 2000-01-27 16:40:52.000000000 +0100 2.5 ++++ setserial-2.17/setserial.c 2010-03-25 21:48:21.554872081 +0100 2.6 +@@ -24,6 +24,8 @@ 2.7 + #endif 2.8 + #include <linux/serial.h> 2.9 + 2.10 ++#undef TIOCGHAYESESP 2.11 ++ 2.12 + #include "version.h" 2.13 + 2.14 + static char version_str[] = "setserial version " SETSERIAL_VERSION ", " 2.15 + 2.16 +Common subdirectories: setserial-2.17-ori/Documentation and setserial-2.17/Documentation 2.17 +Common subdirectories: setserial-2.17-ori/linux and setserial-2.17/linux 2.18 +--- setserial-2.17-ori/setserial.c Thu Jan 27 16:40:52 2000 2.19 ++++ setserial-2.17/setserial.c Thu Jul 22 09:51:23 2010 2.20 +@@ -15,6 +15,7 @@ 2.21 + #include <termios.h> 2.22 + #include <string.h> 2.23 + #include <errno.h> 2.24 ++#include <stdlib.h> 2.25 + 2.26 + #ifdef HAVE_ASM_IOCTLS_H 2.27 + #include <asm/ioctls.h>