summaryrefslogtreecommitdiff
path: root/geography/gpspoint/patches/patch-src_posixserial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'geography/gpspoint/patches/patch-src_posixserial.cpp')
-rw-r--r--geography/gpspoint/patches/patch-src_posixserial.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/geography/gpspoint/patches/patch-src_posixserial.cpp b/geography/gpspoint/patches/patch-src_posixserial.cpp
new file mode 100644
index 00000000000..6ba60f02950
--- /dev/null
+++ b/geography/gpspoint/patches/patch-src_posixserial.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_posixserial.cpp,v 1.1 2011/11/24 14:05:09 joerg Exp $
+
+--- src/posixserial.cpp.orig 2011-11-24 01:03:16.000000000 +0000
++++ src/posixserial.cpp
+@@ -18,7 +18,7 @@
+
+ #ifdef HAVE_TERMIOS_H
+
+-
++#include <string.h>
+ #include <fstream>
+
+ #define V_TIME 5 // wait V_TIME for characters on serial port