aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2009-01-24 13:20:24 +0000
committerPeter Pentchev <roam@FreeBSD.org>2009-01-24 13:20:24 +0000
commit7aa951c452c69edd2ab6add6fbf2678ff5d1097d (patch)
tree4f20ca19dea932eebba074cbce9587c13f4e799a
parent527723bfdb57cf46813fe8f8f68f8afb8e87c95e (diff)
downloadports-7aa951c452c69edd2ab6add6fbf2678ff5d1097d.tar.gz
ports-7aa951c452c69edd2ab6add6fbf2678ff5d1097d.zip
Notes
-rw-r--r--astro/gaia/files/patch-lib-wwfetch-wwfetch_http.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/astro/gaia/files/patch-lib-wwfetch-wwfetch_http.c b/astro/gaia/files/patch-lib-wwfetch-wwfetch_http.c
new file mode 100644
index 000000000000..13d5bacfb5f3
--- /dev/null
+++ b/astro/gaia/files/patch-lib-wwfetch-wwfetch_http.c
@@ -0,0 +1,11 @@
+--- lib/wwfetch/wwfetch_http.c.old 2009-01-24 15:12:41.000000000 +0200
++++ lib/wwfetch/wwfetch_http.c 2009-01-24 15:15:30.000000000 +0200
+@@ -96,7 +96,7 @@
+ 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)