From owner-svn-ports-head@freebsd.org Sat Jan 6 05:58:30 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E990EBFE5E; Sat, 6 Jan 2018 05:58:30 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF41576629; Sat, 6 Jan 2018 05:58:29 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 43CF2B7AF; Sat, 6 Jan 2018 05:58:29 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w065wTm8013075; Sat, 6 Jan 2018 05:58:29 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w065wTsZ013074; Sat, 6 Jan 2018 05:58:29 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201801060558.w065wTsZ013074@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 6 Jan 2018 05:58:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458223 - head/games/aquaria/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/games/aquaria/files X-SVN-Commit-Revision: 458223 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 05:58:30 -0000 Author: jbeich Date: Sat Jan 6 05:58:28 2018 New Revision: 458223 URL: https://svnweb.freebsd.org/changeset/ports/458223 Log: games/aquaria: unbreak build with Clang 6 (C++14 by default) Aquaria/ScriptInterface.cpp:10412:59: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] #define MK_ALIAS(prefix, suffix, alias) {MK_STR(prefix)"_"MK_STR(alias), l_##prefix##_##suffix}, ^ Reported by: antoine (via bug 224669) Added: head/games/aquaria/files/patch-Aquaria_ScriptInterface.cpp (contents, props changed) Added: head/games/aquaria/files/patch-Aquaria_ScriptInterface.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/aquaria/files/patch-Aquaria_ScriptInterface.cpp Sat Jan 6 05:58:28 2018 (r458223) @@ -0,0 +1,15 @@ +Aquaria/ScriptInterface.cpp:10412:59: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] +#define MK_ALIAS(prefix, suffix, alias) {MK_STR(prefix)"_"MK_STR(alias), l_##prefix##_##suffix}, + ^ + +--- Aquaria/ScriptInterface.cpp.orig 2016-06-19 23:56:27 UTC ++++ Aquaria/ScriptInterface.cpp +@@ -10409,7 +10409,7 @@ static const struct { + #undef MK_ALIAS + #define MK_FUNC(base, getter, prefix, suffix) luaRegister(prefix##_##suffix), + #define MK_STR(s) #s +-#define MK_ALIAS(prefix, suffix, alias) {MK_STR(prefix)"_"MK_STR(alias), l_##prefix##_##suffix}, ++#define MK_ALIAS(prefix, suffix, alias) {MK_STR(prefix) "_" MK_STR(alias), l_##prefix##_##suffix}, + + EXPAND_FUNC_PROTOTYPES +