diff options
author | jlaffaye <jlaffaye@FreeBSD.org> | 2011-07-03 23:49:55 +0800 |
---|---|---|
committer | jlaffaye <jlaffaye@FreeBSD.org> | 2011-07-03 23:49:55 +0800 |
commit | f1dd1e9d390cf25861b088823b726a637528dbfa (patch) | |
tree | e669c5722cfeb354d8839815548bb07ba5b48047 /astro | |
parent | 9e2aeae9e2de0807b14e2dde1c31acad117226ee (diff) | |
download | freebsd-ports-gnome-f1dd1e9d390cf25861b088823b726a637528dbfa.tar.gz freebsd-ports-gnome-f1dd1e9d390cf25861b088823b726a637528dbfa.tar.zst freebsd-ports-gnome-f1dd1e9d390cf25861b088823b726a637528dbfa.zip |
Fix bug when uploading to the new fosm.org server.
PR: ports/158404
Submitted by: Oliver Heesakkers <dev2@heesakkers.info> (maintainer)
Approved by: rene (mentor vacation)
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); |