diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-06 13:17:52 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-06 13:17:52 +0100 |
commit | f5f050a0f19490169c4542d3b8ec64554fc3e3df (patch) | |
tree | 0016496a84b3ed06dbf275024bfe443eca651463 | |
parent | 5c9f1a29acc910ac258fa6a6927b159ff58da2ff (diff) |
fix compile
-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> |