diff --git a/x11/gaia/Makefile b/x11/gaia/Makefile index f7f4b7f7eb9..18cade33149 100644 --- a/x11/gaia/Makefile +++ b/x11/gaia/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.5 2007/12/12 10:42:07 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.6 2008/05/15 19:34:19 naddy Exp $ COMMENT= 3D earth viewer with GPS support DISTNAME= gaia-0.1.2 -PKGNAME= ${DISTNAME}p2 +PKGNAME= ${DISTNAME}p3 CATEGORIES= x11 geo EXTRACT_SUFX= .tar.bz2 diff --git a/x11/gaia/patches/patch-lib_wwfetch_wwfetch_http_c b/x11/gaia/patches/patch-lib_wwfetch_wwfetch_http_c new file mode 100644 index 00000000000..e6252052b45 --- /dev/null +++ b/x11/gaia/patches/patch-lib_wwfetch_wwfetch_http_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-lib_wwfetch_wwfetch_http_c,v 1.1 2008/05/15 19:34:20 naddy Exp $ +--- lib/wwfetch/wwfetch_http.c.orig Thu May 15 19:12:32 2008 ++++ lib/wwfetch/wwfetch_http.c Thu May 15 19:17:28 2008 +@@ -96,7 +96,7 @@ wwfetch_error wwfetch_do_http_request(wwfetch *handle, + if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_HTTPHEADER, handle->curlheaders)) != CURLE_OK) + return WWFETCH_CURL_ERROR; + +- if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_USERAGENT, "gaia/%s", GAIA_VERSION)) != CURLE_OK) ++ if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_USERAGENT, "gaia/" GAIA_VERSION)) != CURLE_OK) + return WWFETCH_CURL_ERROR; + + if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_URL, url)) != CURLE_OK)