This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch wheezy
in repository qlandkartegt.

commit d7411967598e9e93acf2d0260d537feb3f8c30ac
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Sat Aug 30 14:07:06 2014 +0200

    Added patch to fix downloading of OSM mapnik tiles (Closes: #736550)
---
 debian/changelog                    |  6 ++++++
 debian/patches/series               |  1 +
 debian/patches/set-user-agent.patch | 21 +++++++++++++++++++++
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 03f9546..7761189 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+qlandkartegt (1.5.0~dfsg1-1+deb7u1) stable-proposed-updates; urgency=low
+
+  * Added patch to fix downloading of OSM mapnik tiles (Closes: #736550)
+
+ -- Jaromír Mikeš <mira.mi...@seznam.cz>  Wed, 12 Feb 2014 21:16:10 +0100
+
 qlandkartegt (1.5.0~dfsg1-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..44ab19f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+set-user-agent.patch
diff --git a/debian/patches/set-user-agent.patch 
b/debian/patches/set-user-agent.patch
new file mode 100644
index 0000000..8d66925
--- /dev/null
+++ b/debian/patches/set-user-agent.patch
@@ -0,0 +1,21 @@
+Description: Set User-Agent now required by OSM tileservers.
+Author: Jaromír Mikeš <mira.mi...@seznam.cz>
+
+--- a/src/CMapTms.cpp
++++ b/src/CMapTms.cpp
+@@ -27,6 +27,7 @@
+ #include "CDlgMapTmsConfig.h"
+ #include "CMapSelectionRaster.h"
+ #include "CSettings.h"
++#include "version.h"
+ 
+ #include <QtGui>
+ #include <QtNetwork>
+@@ -591,6 +592,7 @@ void CMapTms::checkQueue()
+ 
+         QNetworkRequest request;
+         request.setUrl(req.url);
++        request.setRawHeader("User-Agent" , "QLandkarteGT/" VER_STR);
+         req.reply = accessManager->get(request);
+ 
+         pendRequests[req.url.toString()] = req;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/qlandkartegt.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to