Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 17:34:35 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474113 - head/games/quadra/files
Message-ID:  <201807071734.w67HYZvY057046@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807071734.w67HYZvY057046>