diff options
author | joerg <joerg> | 2011-11-24 14:02:54 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-11-24 14:02:54 +0000 |
commit | 864b967d33162cf3a72e5bf251bbd1b71fc1ea97 (patch) | |
tree | a1e81801a6e26be9ffd78ddd52207aa8a290f2f6 /geography/gpspoint | |
parent | f4b5d71e3f43ebd419b99ffe3823b92c10c74bfd (diff) | |
download | pkgsrc-864b967d33162cf3a72e5bf251bbd1b71fc1ea97.tar.gz |
Fix build with newer GCC
Diffstat (limited to 'geography/gpspoint')
-rw-r--r-- | geography/gpspoint/distinfo | 4 | ||||
-rw-r--r-- | geography/gpspoint/patches/patch-src_main.cpp | 12 | ||||
-rw-r--r-- | geography/gpspoint/patches/patch-src_posixserial.cpp | 13 |
3 files changed, 28 insertions, 1 deletions
diff --git a/geography/gpspoint/distinfo b/geography/gpspoint/distinfo index 9e4fb186a7a..9b29a75afdb 100644 --- a/geography/gpspoint/distinfo +++ b/geography/gpspoint/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2007/03/17 15:34:13 rillig Exp $ +$NetBSD: distinfo,v 1.5 2011/11/24 14:05:09 joerg Exp $ SHA1 (gpspoint-2.030521.tar.gz) = b65466fae17e35bed019869d66515acc388b3242 RMD160 (gpspoint-2.030521.tar.gz) = a1be4a5230488965533254a82cf0f57fe7abbfb8 @@ -9,3 +9,5 @@ SHA1 (patch-ac) = 3ecc288bf3072c65ecf40d0b34fbccade0014f9a SHA1 (patch-ad) = b75ea9f79ecb22ed84d75e386c58df7f8836d448 SHA1 (patch-ae) = 36808a9b9e211adc3c4edbb8f0bf926601274b7b SHA1 (patch-af) = a1ccd4d1cc9e75ef457cfbe91a8bfc7e64a1409f +SHA1 (patch-src_main.cpp) = 3dfa8a01679360c0041367c4ba95b4bab643bfe0 +SHA1 (patch-src_posixserial.cpp) = 6240b852ccbc86f9e337aefa960bb7cdb7d39176 diff --git a/geography/gpspoint/patches/patch-src_main.cpp b/geography/gpspoint/patches/patch-src_main.cpp new file mode 100644 index 00000000000..566b525649f --- /dev/null +++ b/geography/gpspoint/patches/patch-src_main.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_main.cpp,v 1.1 2011/11/24 14:05:09 joerg Exp $ + +--- src/main.cpp.orig 2011-11-24 01:03:47.000000000 +0000 ++++ src/main.cpp +@@ -24,6 +24,7 @@ + #include <string> + #include <fstream> + #include <signal.h> ++#include <stdlib.h> + + + using namespace std; 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 |