forked from pool/tigervnc
Stefan Dirsch
478a217a95
* update to current git master in order to fix boo#1132901 >>>>>>> ./tigervnc.changes.r85a118aa653f1d42c31302a788064076 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=161
73 lines
2.6 KiB
Diff
73 lines
2.6 KiB
Diff
Index: b/unix/xserver/hw/vnc/buildtime.c
|
|
===================================================================
|
|
--- a/unix/xserver/hw/vnc/buildtime.c
|
|
+++ b/unix/xserver/hw/vnc/buildtime.c
|
|
@@ -15,4 +15,4 @@
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
* USA.
|
|
*/
|
|
-char buildtime[] = __DATE__ " " __TIME__;
|
|
+char buildtime[] = "??? ?? ???? ??:??:??";
|
|
Index: b/unix/vncconfig/buildtime.c
|
|
===================================================================
|
|
--- a/unix/vncconfig/buildtime.c
|
|
+++ b/unix/vncconfig/buildtime.c
|
|
@@ -15,4 +15,4 @@
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
* USA.
|
|
*/
|
|
-char buildtime[] = __DATE__ " " __TIME__;
|
|
+char buildtime[] = "??? ?? ???? ??:??:??";
|
|
Index: b/unix/x0vncserver/buildtime.c
|
|
===================================================================
|
|
--- a/unix/x0vncserver/buildtime.c
|
|
+++ b/unix/x0vncserver/buildtime.c
|
|
@@ -15,4 +15,4 @@
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
* USA.
|
|
*/
|
|
-char buildtime[] = __DATE__ " " __TIME__;
|
|
+char buildtime[] = "??? ?? ???? ??:??:??";
|
|
Index: b/win/winvnc/buildTime.cxx
|
|
===================================================================
|
|
--- a/win/winvnc/buildTime.cxx
|
|
+++ b/win/winvnc/buildTime.cxx
|
|
@@ -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 ??:??:??";
|
|
Index: b/CMakeLists.txt
|
|
===================================================================
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -42,10 +42,6 @@ if(MSVC)
|
|
message(FATAL_ERROR "TigerVNC cannot be built with Visual Studio. Please use MinGW")
|
|
endif()
|
|
|
|
-if(NOT BUILD_TIMESTAMP)
|
|
- STRING(TIMESTAMP BUILD_TIMESTAMP "%Y-%m-%d %H:%M" UTC)
|
|
-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)
|
|
Index: b/vncviewer/vncviewer.cxx
|
|
===================================================================
|
|
--- a/vncviewer/vncviewer.cxx
|
|
+++ b/vncviewer/vncviewer.cxx
|
|
@@ -98,11 +98,9 @@ static const char *about_text()
|
|
// time.
|
|
snprintf(buffer, sizeof(buffer),
|
|
_("TigerVNC Viewer %d-bit v%s\n"
|
|
- "Built on: %s\n"
|
|
"Copyright (C) 1999-%d TigerVNC Team and many others (see README.rst)\n"
|
|
"See https://www.tigervnc.org for information on TigerVNC."),
|
|
- (int)sizeof(size_t)*8, PACKAGE_VERSION,
|
|
- BUILD_TIMESTAMP, 2019);
|
|
+ (int)sizeof(size_t)*8, PACKAGE_VERSION, 2019);
|
|
|
|
return buffer;
|
|
}
|