diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/setserial/Makefile | 2 | ||||
-rw-r--r-- | package/setserial/patches/patch-setserial_c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/package/setserial/Makefile b/package/setserial/Makefile index b106d11a0..e95c9e6b5 100644 --- a/package/setserial/Makefile +++ b/package/setserial/Makefile @@ -17,6 +17,8 @@ $(eval $(call PKG_template,SETSERIAL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},$ INSTALL_STYLE:= manual +TCFLAGS+= -DFIOQSIZE=1 + do-install: ${INSTALL_DIR} ${IDIR_SETSERIAL}/usr/sbin ${INSTALL_BIN} ${WRKBUILD}/setserial ${IDIR_SETSERIAL}/usr/sbin/ diff --git a/package/setserial/patches/patch-setserial_c b/package/setserial/patches/patch-setserial_c new file mode 100644 index 000000000..ec2cb3c84 --- /dev/null +++ b/package/setserial/patches/patch-setserial_c @@ -0,0 +1,10 @@ +--- setserial-2.17.orig/setserial.c 2000-01-27 16:40:52.000000000 +0100 ++++ setserial-2.17/setserial.c 2010-03-05 17:42:26.316553683 +0100 +@@ -11,6 +11,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + #include <fcntl.h> + #include <termios.h> + #include <string.h> |