From owner-svn-ports-all@freebsd.org Sun Sep 9 07:18:38 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F54B108D7C4; Sun, 9 Sep 2018 07:18:38 +0000 (UTC) (envelope-from tobik@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 D947689C19; Sun, 9 Sep 2018 07:18:37 +0000 (UTC) (envelope-from tobik@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 D44A1168C4; Sun, 9 Sep 2018 07:18:37 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w897IbBd014013; Sun, 9 Sep 2018 07:18:37 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w897IbxQ014012; Sun, 9 Sep 2018 07:18:37 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809090718.w897IbxQ014012@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 9 Sep 2018 07:18:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479276 - head/net/tcpreen/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/net/tcpreen/files X-SVN-Commit-Revision: 479276 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2018 07:18:38 -0000 Author: tobik Date: Sun Sep 9 07:18:37 2018 New Revision: 479276 URL: https://svnweb.freebsd.org/changeset/ports/479276 Log: net/tcpreen: Fix build with Clang 6 main.cpp:111:27: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] "TCP re-engineering tool "VERSION" ("PACKAGE_HOST")\n" ^ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p479076_s338486/logs/errors/tcpreen-1.4.4_3.log PR: 230895 Submitted by: tobik Approved by: jmohacsi@bsd.hu (maintainer timeout, 2 weeks) Added: head/net/tcpreen/files/ head/net/tcpreen/files/patch-src_main.cpp (contents, props changed) Added: head/net/tcpreen/files/patch-src_main.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/tcpreen/files/patch-src_main.cpp Sun Sep 9 07:18:37 2018 (r479276) @@ -0,0 +1,18 @@ +main.cpp:111:27: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] +"TCP re-engineering tool "VERSION" ("PACKAGE_HOST")\n" + ^ + +Also remove build host and date information to prepare for reproducible builds + +--- src/main.cpp.orig 2018-08-25 18:26:34 UTC ++++ src/main.cpp +@@ -108,8 +108,7 @@ version (void) + # define VERSION "unknown version" + #endif + puts ( +-"TCP re-engineering tool "VERSION" ("PACKAGE_HOST")\n" +-" built "__DATE__" on "PACKAGE_BUILD_HOSTNAME" ("PACKAGE_BUILD")\n" ++"TCP re-engineering tool " VERSION "\n" + "Copyright (C) 2002-2004 Remi Denis-Courmont"); + puts (_( + "This is free software; see the source for copying conditions.\n"