svn commit: r479276 - head/net/tcpreen/files
Tobias Kortkamp
tobik at FreeBSD.org
Sun Sep 9 07:18:38 UTC 2018
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 at 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"
More information about the svn-ports-head
mailing list