pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Fix build with newer GCC
details: https://anonhg.NetBSD.org/pkgsrc/rev/0f473fbc5e70
branches: trunk
changeset: 595758:0f473fbc5e70
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Nov 24 14:02:54 2011 +0000
description:
Fix build with newer GCC
diffstat:
geography/gpsdrive/distinfo | 3 +-
geography/gpsdrive/patches/patch-src_garmin__application.cpp | 12 +++++++++++
geography/gpspoint/distinfo | 4 ++-
geography/gpspoint/patches/patch-src_main.cpp | 12 +++++++++++
geography/gpspoint/patches/patch-src_posixserial.cpp | 13 ++++++++++++
graphics/gfract/distinfo | 3 +-
graphics/gfract/patches/patch-color.cpp | 11 ++++++++++
7 files changed, 55 insertions(+), 3 deletions(-)
diffs (108 lines):
diff -r 1cfa0c68b368 -r 0f473fbc5e70 geography/gpsdrive/distinfo
--- a/geography/gpsdrive/distinfo Thu Nov 24 14:01:46 2011 +0000
+++ b/geography/gpsdrive/distinfo Thu Nov 24 14:02:54 2011 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2011/07/03 21:42:24 jym Exp $
+$NetBSD: distinfo,v 1.5 2011/11/24 14:06:04 joerg Exp $
SHA1 (gpsdrive-1.31.tar.gz) = 296a06d264c5fbb077c91f3529b4e6f122423f05
RMD160 (gpsdrive-1.31.tar.gz) = 56ea8fb9355e0381d55aeb691757c59c9e332406
@@ -9,3 +9,4 @@
SHA1 (patch-ad) = 05d6be6ba7bd37b4b0599092ace2d5db7825c01d
SHA1 (patch-ae) = 5ab12f3f1f94a84acac0bc47fb4ad5a3bb75b7b6
SHA1 (patch-af) = ba047381fcf07b3797c73199f85536b2a7efb61e
+SHA1 (patch-src_garmin__application.cpp) = 8b682f5545e67ff2906cec9fc44cbf601b0bd399
diff -r 1cfa0c68b368 -r 0f473fbc5e70 geography/gpsdrive/patches/patch-src_garmin__application.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsdrive/patches/patch-src_garmin__application.cpp Thu Nov 24 14:02:54 2011 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_garmin__application.cpp,v 1.1 2011/11/24 14:06:04 joerg Exp $
+
+--- src/garmin_application.cpp.orig 2011-11-24 01:00:09.000000000 +0000
++++ src/garmin_application.cpp
+@@ -26,6 +26,7 @@
+ #include <iostream>
+ #endif
+
++#include <cstring>
+ #include <cctype>
+ #include <algorithm>
+
diff -r 1cfa0c68b368 -r 0f473fbc5e70 geography/gpspoint/distinfo
--- a/geography/gpspoint/distinfo Thu Nov 24 14:01:46 2011 +0000
+++ b/geography/gpspoint/distinfo Thu Nov 24 14:02:54 2011 +0000
@@ -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-ad) = b75ea9f79ecb22ed84d75e386c58df7f8836d448
SHA1 (patch-ae) = 36808a9b9e211adc3c4edbb8f0bf926601274b7b
SHA1 (patch-af) = a1ccd4d1cc9e75ef457cfbe91a8bfc7e64a1409f
+SHA1 (patch-src_main.cpp) = 3dfa8a01679360c0041367c4ba95b4bab643bfe0
+SHA1 (patch-src_posixserial.cpp) = 6240b852ccbc86f9e337aefa960bb7cdb7d39176
diff -r 1cfa0c68b368 -r 0f473fbc5e70 geography/gpspoint/patches/patch-src_main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpspoint/patches/patch-src_main.cpp Thu Nov 24 14:02:54 2011 +0000
@@ -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 -r 1cfa0c68b368 -r 0f473fbc5e70 geography/gpspoint/patches/patch-src_posixserial.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpspoint/patches/patch-src_posixserial.cpp Thu Nov 24 14:02:54 2011 +0000
@@ -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
diff -r 1cfa0c68b368 -r 0f473fbc5e70 graphics/gfract/distinfo
--- a/graphics/gfract/distinfo Thu Nov 24 14:01:46 2011 +0000
+++ b/graphics/gfract/distinfo Thu Nov 24 14:02:54 2011 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2011/07/05 04:28:34 dholland Exp $
+$NetBSD: distinfo,v 1.9 2011/11/24 14:02:54 joerg Exp $
SHA1 (gfract-0.32.tar.gz) = f603c067c9616ebde714b72b3bda801e9906d6c3
RMD160 (gfract-0.32.tar.gz) = 6196bd3cc17c4c41bbd0b7df4cbe0691e52de521
@@ -7,4 +7,5 @@
RMD160 (gfract-palettes-0.1.tar.gz) = 3430c31cb5cb2317a02b1e2cf506c5ffa9601a7c
Size (gfract-palettes-0.1.tar.gz) = 223648 bytes
SHA1 (patch-aa) = 374c5fc29e3b3b07a5b0873ee1d042128b1ae5b8
+SHA1 (patch-color.cpp) = 442929a5c425336e93384625e10ef773dc73c80d
SHA1 (patch-my_png_cpp) = 3bfa0a24aa62e9b71f6bc6d7f2060b2a185a9daa
diff -r 1cfa0c68b368 -r 0f473fbc5e70 graphics/gfract/patches/patch-color.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gfract/patches/patch-color.cpp Thu Nov 24 14:02:54 2011 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-color.cpp,v 1.1 2011/11/24 14:02:54 joerg Exp $
+
+--- color.cpp.orig 2011-11-24 00:30:21.000000000 +0000
++++ color.cpp
+@@ -1,5 +1,6 @@
+ #include <math.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <algorithm>
+ #include "externs.h"
+ #include "misc.h"
Home |
Main Index |
Thread Index |
Old Index