View | Details | Raw Unified | Return to bug 230895
Collapse All | Expand All

(-)files/patch-src_main.cpp (+18 lines)
Line 0 Link Here
1
main.cpp:111:27: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
2
"TCP re-engineering tool "VERSION" ("PACKAGE_HOST")\n"
3
                          ^
4
5
Also remove build host and date information to prepare for reproducible builds
6
7
--- src/main.cpp.orig	2018-08-25 18:26:34 UTC
8
+++ src/main.cpp
9
@@ -108,8 +108,7 @@ version (void)
10
 # define VERSION "unknown version"
11
 #endif
12
 	puts (
13
-"TCP re-engineering tool "VERSION" ("PACKAGE_HOST")\n"
14
-" built "__DATE__" on "PACKAGE_BUILD_HOSTNAME" ("PACKAGE_BUILD")\n"
15
+"TCP re-engineering tool " VERSION "\n"
16
 "Copyright (C) 2002-2004 Remi Denis-Courmont");
17
 	puts (_(
18
 "This is free software; see the source for copying conditions.\n"

Return to bug 230895