summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authoragc <agc>2004-07-22 11:36:00 +0000
committeragc <agc>2004-07-22 11:36:00 +0000
commit7336c23e3210b89339997e68568603befd89f8b9 (patch)
tree87c6ea884ac84b0d2d1be2321de478323e19c834 /misc
parent7e0557702b6d438187125c40c0516561917b79d2 (diff)
downloadpkgsrc-7336c23e3210b89339997e68568603befd89f8b9.tar.gz
Make this package compile with gcc3.3.
Addresses problem reported in PR 26398.
Diffstat (limited to 'misc')
-rw-r--r--misc/gpsdrive/Makefile4
-rw-r--r--misc/gpsdrive/distinfo5
-rw-r--r--misc/gpsdrive/patches/patch-ad12
-rw-r--r--misc/gpsdrive/patches/patch-ae12
-rw-r--r--misc/gpsdrive/patches/patch-af12
5 files changed, 43 insertions, 2 deletions
diff --git a/misc/gpsdrive/Makefile b/misc/gpsdrive/Makefile
index f03b8ff7e38..c4be17288dd 100644
--- a/misc/gpsdrive/Makefile
+++ b/misc/gpsdrive/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/05/09 04:22:32 snj Exp $
+# $NetBSD: Makefile,v 1.10 2004/07/22 11:36:00 agc Exp $
DISTNAME= gpsdrive-1.31
PKGREVISION= 5
@@ -15,6 +15,8 @@ GNU_CONFIGURE= YES
USE_BUILDLINK3= YES
USE_PKGLOCALEDIR= YES
+USE_LANGUAGE= c c++
+
# XXX make this an option
CONFIGURE_ARGS+= --disable-mysql
diff --git a/misc/gpsdrive/distinfo b/misc/gpsdrive/distinfo
index 99233fc9441..71e6eb7c823 100644
--- a/misc/gpsdrive/distinfo
+++ b/misc/gpsdrive/distinfo
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.3 2003/01/08 17:29:06 tsarna Exp $
+$NetBSD: distinfo,v 1.4 2004/07/22 11:36:00 agc Exp $
SHA1 (gpsdrive-1.31.tar.gz) = 296a06d264c5fbb077c91f3529b4e6f122423f05
Size (gpsdrive-1.31.tar.gz) = 784379 bytes
SHA1 (patch-aa) = cc5dd44020ffc5f22dc958c938b9f98ff6e01810
SHA1 (patch-ab) = 240901fe52e41db1a41299f66ac61c06898f1881
SHA1 (patch-ac) = 86f67ad04378f14a95e5b9fc806b2054ef4be127
+SHA1 (patch-ad) = 05d6be6ba7bd37b4b0599092ace2d5db7825c01d
+SHA1 (patch-ae) = 5ab12f3f1f94a84acac0bc47fb4ad5a3bb75b7b6
+SHA1 (patch-af) = ba047381fcf07b3797c73199f85536b2a7efb61e
diff --git a/misc/gpsdrive/patches/patch-ad b/misc/gpsdrive/patches/patch-ad
new file mode 100644
index 00000000000..aa36e7c7ccf
--- /dev/null
+++ b/misc/gpsdrive/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2004/07/22 11:36:01 agc Exp $
+
+--- src/netlib.c 2004/07/22 11:16:34 1.1
++++ src/netlib.c 2004/07/22 11:17:03
+@@ -23,7 +23,6 @@
+ #include <sys/socket.h>
+ #include <sys/time.h>
+ #include <netinet/in.h>
+-#include <varargs.h>
+ #include <netdb.h>
+ #include <stdio.h>
+ #include <arpa/inet.h>
diff --git a/misc/gpsdrive/patches/patch-ae b/misc/gpsdrive/patches/patch-ae
new file mode 100644
index 00000000000..ac57b6f32d3
--- /dev/null
+++ b/misc/gpsdrive/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2004/07/22 11:36:01 agc Exp $
+
+--- src/garble.cpp 2004/07/22 11:19:47 1.1
++++ src/garble.cpp 2004/07/22 11:20:55
+@@ -29,6 +29,7 @@
+ #include <iostream>
+ #include <string>
+ #include <cstdlib>
++#include <cassert>
+ // #include <ctime>
+
+ using namespace std;
diff --git a/misc/gpsdrive/patches/patch-af b/misc/gpsdrive/patches/patch-af
new file mode 100644
index 00000000000..037ac4c73df
--- /dev/null
+++ b/misc/gpsdrive/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1 2004/07/22 11:36:01 agc Exp $
+
+--- src/gpsdrivegarble.cpp 2004/07/22 11:30:57 1.1
++++ src/gpsdrivegarble.cpp 2004/07/22 11:31:15
+@@ -64,6 +64,7 @@
+ #include <iostream>
+ #include <string>
+ #include <cstdlib>
++#include <cassert>
+ // #include <ctime>
+
+ using namespace std;