svn commit: r474113 - head/games/quadra/files
Tobias Kortkamp
tobik at FreeBSD.org
Sat Jul 7 17:34:36 UTC 2018
Author: tobik
Date: Sat Jul 7 17:34:34 2018
New Revision: 474113
URL: https://svnweb.freebsd.org/changeset/ports/474113
Log:
games/quadra: Fix build with Clang 6
source/update.cpp:83:20: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
buf.append("GET "UPDATE_PATH" HTTP/1.0\r\n");
^
source/update.cpp:84:22: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
buf.append("Host: "UPDATE_HOST"\r\n");
^
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p473592_s335809/logs/quadra-1.3.0_6.log
Added:
head/games/quadra/files/patch-source_update.cpp (contents, props changed)
Added: head/games/quadra/files/patch-source_update.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/quadra/files/patch-source_update.cpp Sat Jul 7 17:34:34 2018 (r474113)
@@ -0,0 +1,13 @@
+--- source/update.cpp.orig 2018-07-07 17:27:09 UTC
++++ source/update.cpp
+@@ -80,8 +80,8 @@ void AutoUpdaterImpl::init() {
+ }
+
+ buf.resize(0);
+- buf.append("GET "UPDATE_PATH" HTTP/1.0\r\n");
+- buf.append("Host: "UPDATE_HOST"\r\n");
++ buf.append("GET " UPDATE_PATH " HTTP/1.0\r\n");
++ buf.append("Host: " UPDATE_HOST "\r\n");
+ buf.append("Connection: close\r\n");
+ snprintf(st, sizeof(st), "User-Agent: Quadra/%s\r\n", VERSION_STRING);
+ buf.append(st);
More information about the svn-ports-all
mailing list