diff options
author | Julien Laffaye <jlaffaye@FreeBSD.org> | 2011-07-03 15:49:55 +0000 |
---|---|---|
committer | Julien Laffaye <jlaffaye@FreeBSD.org> | 2011-07-03 15:49:55 +0000 |
commit | 1d8de4a402267b7304e81d24aa52879adacb8992 (patch) | |
tree | 455f2fce3f7f5e9b5a154450669cc83fd8b3b87e /astro | |
parent | 61b66b60e940894f5fcb9a034a1251404a2f7faf (diff) | |
download | ports-1d8de4a402267b7304e81d24aa52879adacb8992.tar.gz ports-1d8de4a402267b7304e81d24aa52879adacb8992.zip |
Notes
Diffstat (limited to 'astro')
-rw-r--r-- | astro/merkaartor/Makefile | 2 | ||||
-rw-r--r-- | astro/merkaartor/files/patch-src__Sync__DownloadOSM.cpp | 11 |
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); |