summaryrefslogtreecommitdiffstats
path: root/package/libserial/libserial-0002-add-missing-header-include.patch
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-04-23 04:52:39 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-23 20:37:42 +0200
commit85ffab574935ae07c090e05b5d720e1fb76569c7 (patch)
treee2946cb45486a88633104034d63bf37ff05be9ae /package/libserial/libserial-0002-add-missing-header-include.patch
parentadc231d6a15dd3d2cdc18190c9befaa655bba7ad (diff)
downloadbuildroot-novena-85ffab574935ae07c090e05b5d720e1fb76569c7.tar.gz
buildroot-novena-85ffab574935ae07c090e05b5d720e1fb76569c7.zip
libserial: new package
Note that the Python binding is disabled; we can't build this in Buildroot without the sipconfig Python module for the host. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libserial/libserial-0002-add-missing-header-include.patch')
-rw-r--r--package/libserial/libserial-0002-add-missing-header-include.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/libserial/libserial-0002-add-missing-header-include.patch b/package/libserial/libserial-0002-add-missing-header-include.patch
new file mode 100644
index 000000000..a0226372b
--- /dev/null
+++ b/package/libserial/libserial-0002-add-missing-header-include.patch
@@ -0,0 +1,15 @@
+Add a missing header include, to fix a build error.
+
+Signed-off-by: Simon Dawson <spdawson@gmail.com>
+
+diff -Nurp a/src/SerialPort.cpp b/src/SerialPort.cpp
+--- a/src/SerialPort.cpp 2008-11-12 01:27:30.000000000 +0000
++++ b/src/SerialPort.cpp 2013-04-23 15:43:41.537495852 +0100
+@@ -27,6 +27,7 @@
+ #include <cassert>
+ #include <termios.h>
+ #include <fcntl.h>
++#include <unistd.h>
+ #include <sys/ioctl.h>
+ #include <sys/time.h>
+ #include <signal.h>