2022-02-17 11:42:51 +01:00
|
|
|
Index: tigervnc-1.12.0/unix/xserver/hw/vnc/buildtime.c
|
2015-01-09 14:08:09 +01:00
|
|
|
===================================================================
|
2022-02-17 11:42:51 +01:00
|
|
|
--- tigervnc-1.12.0.orig/unix/xserver/hw/vnc/buildtime.c
|
|
|
|
+++ tigervnc-1.12.0/unix/xserver/hw/vnc/buildtime.c
|
2014-05-30 14:45:02 +02:00
|
|
|
@@ -15,4 +15,4 @@
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
|
|
* USA.
|
|
|
|
*/
|
|
|
|
-char buildtime[] = __DATE__ " " __TIME__;
|
|
|
|
+char buildtime[] = "??? ?? ???? ??:??:??";
|
2022-02-17 11:42:51 +01:00
|
|
|
Index: tigervnc-1.12.0/unix/vncconfig/buildtime.c
|
2015-01-09 14:08:09 +01:00
|
|
|
===================================================================
|
2022-02-17 11:42:51 +01:00
|
|
|
--- tigervnc-1.12.0.orig/unix/vncconfig/buildtime.c
|
|
|
|
+++ tigervnc-1.12.0/unix/vncconfig/buildtime.c
|
2014-05-30 14:45:02 +02:00
|
|
|
@@ -15,4 +15,4 @@
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
|
|
* USA.
|
|
|
|
*/
|
|
|
|
-char buildtime[] = __DATE__ " " __TIME__;
|
|
|
|
+char buildtime[] = "??? ?? ???? ??:??:??";
|
2022-02-17 11:42:51 +01:00
|
|
|
Index: tigervnc-1.12.0/unix/x0vncserver/buildtime.c
|
2015-01-09 14:08:09 +01:00
|
|
|
===================================================================
|
2022-02-17 11:42:51 +01:00
|
|
|
--- tigervnc-1.12.0.orig/unix/x0vncserver/buildtime.c
|
|
|
|
+++ tigervnc-1.12.0/unix/x0vncserver/buildtime.c
|
2014-05-30 14:45:02 +02:00
|
|
|
@@ -15,4 +15,4 @@
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
|
|
* USA.
|
|
|
|
*/
|
|
|
|
-char buildtime[] = __DATE__ " " __TIME__;
|
|
|
|
+char buildtime[] = "??? ?? ???? ??:??:??";
|
2022-02-17 11:42:51 +01:00
|
|
|
Index: tigervnc-1.12.0/win/winvnc/buildTime.cxx
|
2015-01-09 14:08:09 +01:00
|
|
|
===================================================================
|
2022-02-17 11:42:51 +01:00
|
|
|
--- tigervnc-1.12.0.orig/win/winvnc/buildTime.cxx
|
|
|
|
+++ tigervnc-1.12.0/win/winvnc/buildTime.cxx
|
2014-05-30 14:45:02 +02:00
|
|
|
@@ -15,4 +15,4 @@
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
|
|
* USA.
|
|
|
|
*/
|
|
|
|
-const char* buildTime = "Built on " __DATE__ " at " __TIME__;
|
|
|
|
+const char* buildTime = "Built on ??? ?? ???? at ??:??:??";
|
2022-02-17 11:42:51 +01:00
|
|
|
Index: tigervnc-1.12.0/CMakeLists.txt
|
2018-04-11 10:59:34 +02:00
|
|
|
===================================================================
|
2022-02-17 11:42:51 +01:00
|
|
|
--- tigervnc-1.12.0.orig/CMakeLists.txt
|
|
|
|
+++ tigervnc-1.12.0/CMakeLists.txt
|
|
|
|
@@ -44,10 +44,6 @@ if(MSVC)
|
2018-04-11 10:59:34 +02:00
|
|
|
message(FATAL_ERROR "TigerVNC cannot be built with Visual Studio. Please use MinGW")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
-if(NOT BUILD_TIMESTAMP)
|
2019-04-20 11:56:35 +02:00
|
|
|
- STRING(TIMESTAMP BUILD_TIMESTAMP "%Y-%m-%d %H:%M" UTC)
|
2018-04-11 10:59:34 +02:00
|
|
|
-endif()
|
|
|
|
-
|
|
|
|
# Default to optimised builds instead of debug ones. Our code has no bugs ;)
|
|
|
|
# (CMake makes it fairly easy to toggle this back to Debug if needed)
|
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
2022-02-17 11:42:51 +01:00
|
|
|
Index: tigervnc-1.12.0/vncviewer/vncviewer.cxx
|
2018-04-11 10:59:34 +02:00
|
|
|
===================================================================
|
2022-02-17 11:42:51 +01:00
|
|
|
--- tigervnc-1.12.0.orig/vncviewer/vncviewer.cxx
|
|
|
|
+++ tigervnc-1.12.0/vncviewer/vncviewer.cxx
|
|
|
|
@@ -104,11 +104,9 @@ static const char *about_text()
|
2018-04-11 10:59:34 +02:00
|
|
|
// time.
|
|
|
|
snprintf(buffer, sizeof(buffer),
|
|
|
|
_("TigerVNC Viewer %d-bit v%s\n"
|
|
|
|
- "Built on: %s\n"
|
2018-08-02 11:24:03 +02:00
|
|
|
"Copyright (C) 1999-%d TigerVNC Team and many others (see README.rst)\n"
|
2019-04-20 11:56:35 +02:00
|
|
|
"See https://www.tigervnc.org for information on TigerVNC."),
|
2018-04-11 10:59:34 +02:00
|
|
|
- (int)sizeof(size_t)*8, PACKAGE_VERSION,
|
2022-02-17 11:42:51 +01:00
|
|
|
- BUILD_TIMESTAMP, 2021);
|
|
|
|
+ (int)sizeof(size_t)*8, PACKAGE_VERSION, 2021);
|
2018-04-11 10:59:34 +02:00
|
|
|
|
|
|
|
return buffer;
|
|
|
|
}
|