summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2011-07-30 19:25:55 +0000
committergdt <gdt@pkgsrc.org>2011-07-30 19:25:55 +0000
commit285097964af54b3b9137a73b1b3c9c5ff6c9e8cd (patch)
treef1c992e18dff44c514c9a432a2777bad28711f12 /geography
parenta851a5f7e91834a1e8dc80180d2025406c7d37f4 (diff)
downloadpkgsrc-285097964af54b3b9137a73b1b3c9c5ff6c9e8cd.tar.gz
Adapt to modern curl.
Add patch to remove include of withdrawn header (already changed upstream). Set LICENSE (GPL2). PKGREVISION++.
Diffstat (limited to 'geography')
-rw-r--r--geography/viking/Makefile5
-rw-r--r--geography/viking/distinfo3
-rw-r--r--geography/viking/patches/patch-src_osm-traces.c14
3 files changed, 20 insertions, 2 deletions
diff --git a/geography/viking/Makefile b/geography/viking/Makefile
index ac53470fdf8..4d542a10eed 100644
--- a/geography/viking/Makefile
+++ b/geography/viking/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2011/06/24 18:40:43 gdt Exp $
+# $NetBSD: Makefile,v 1.27 2011/07/30 19:25:55 gdt Exp $
#
DISTNAME= viking-1.2.1
+PKGREVISION= 1
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=viking/}
@@ -9,6 +10,8 @@ MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://viking.sourceforge.net/
COMMENT= Viking manages GPS data, supports Open Street Map and geocaching
+LICENSE= gnu-gpl-v2
+
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
diff --git a/geography/viking/distinfo b/geography/viking/distinfo
index f3a87ff34b5..1b6683ab718 100644
--- a/geography/viking/distinfo
+++ b/geography/viking/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.13 2011/06/24 18:40:43 gdt Exp $
+$NetBSD: distinfo,v 1.14 2011/07/30 19:25:55 gdt Exp $
SHA1 (viking-1.2.1.tar.gz) = 594e9ee50dfb93a213399ced9dce72b296b9335a
RMD160 (viking-1.2.1.tar.gz) = 609b464db5c4035123199cd3a4c8985e381710db
Size (viking-1.2.1.tar.gz) = 1054364 bytes
SHA1 (patch-aa) = 24dba675c4aeacef6541f474edd90b7457d98d02
+SHA1 (patch-src_osm-traces.c) = 550421ed7bc879b0286de31dc15dd6b5dd583416
diff --git a/geography/viking/patches/patch-src_osm-traces.c b/geography/viking/patches/patch-src_osm-traces.c
new file mode 100644
index 00000000000..366a2573e24
--- /dev/null
+++ b/geography/viking/patches/patch-src_osm-traces.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_osm-traces.c,v 1.2 2011/07/30 19:25:55 gdt Exp $
+
+curl has apparently withdraw a header file.
+
+--- src/osm-traces.c.orig 2011-06-15 19:30:06.000000000 +0000
++++ src/osm-traces.c
+@@ -27,7 +27,6 @@
+ #include <errno.h>
+
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+
+ #include <glib.h>