aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorJulien Laffaye <jlaffaye@FreeBSD.org>2011-07-03 15:49:55 +0000
committerJulien Laffaye <jlaffaye@FreeBSD.org>2011-07-03 15:49:55 +0000
commit1d8de4a402267b7304e81d24aa52879adacb8992 (patch)
tree455f2fce3f7f5e9b5a154450669cc83fd8b3b87e /astro
parent61b66b60e940894f5fcb9a034a1251404a2f7faf (diff)
downloadports-1d8de4a402267b7304e81d24aa52879adacb8992.tar.gz
ports-1d8de4a402267b7304e81d24aa52879adacb8992.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/merkaartor/Makefile2
-rw-r--r--astro/merkaartor/files/patch-src__Sync__DownloadOSM.cpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/astro/merkaartor/Makefile b/astro/merkaartor/Makefile
index a964c74ae21a..1502ff5a4471 100644
--- a/astro/merkaartor/Makefile
+++ b/astro/merkaartor/Makefile
@@ -7,7 +7,7 @@
PORTNAME= merkaartor
PORTVERSION= 0.17.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= astro
MASTER_SITES= http://www.merkaartor.be/attachments/download/253/
diff --git a/astro/merkaartor/files/patch-src__Sync__DownloadOSM.cpp b/astro/merkaartor/files/patch-src__Sync__DownloadOSM.cpp
new file mode 100644
index 000000000000..c92b9ef1cddc
--- /dev/null
+++ b/astro/merkaartor/files/patch-src__Sync__DownloadOSM.cpp
@@ -0,0 +1,11 @@
+--- ./src/Sync/DownloadOSM.cpp.orig 2011-06-28 02:32:00.000000000 +0200
++++ ./src/Sync/DownloadOSM.cpp 2011-06-28 02:33:10.000000000 +0200
+@@ -252,7 +252,7 @@
+
+ QString sReq = url.toString(QUrl::RemoveScheme | QUrl::RemoveAuthority);
+ QHttpRequestHeader Header(Method,sReq);
+- Header.setValue("Host",url.host()+':'+url.port(80));
++ Header.setValue("Host",url.host()+':'+QString::number(url.port(80)));
+ Header.setValue("User-Agent", USER_AGENT);
+
+ QString auth = QString("%1:%2").arg(User).arg(Password);