Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
tigervnc.20176
n_tigervnc-date-time.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File n_tigervnc-date-time.patch of Package tigervnc.20176
Index: tigervnc-1.8.0/unix/xserver/hw/vnc/buildtime.c =================================================================== --- tigervnc-1.8.0.orig/unix/xserver/hw/vnc/buildtime.c +++ tigervnc-1.8.0/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: tigervnc-1.8.0/unix/vncconfig/buildtime.c =================================================================== --- tigervnc-1.8.0.orig/unix/vncconfig/buildtime.c +++ tigervnc-1.8.0/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: tigervnc-1.8.0/unix/x0vncserver/buildtime.c =================================================================== --- tigervnc-1.8.0.orig/unix/x0vncserver/buildtime.c +++ tigervnc-1.8.0/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: tigervnc-1.8.0/win/winvnc/buildTime.cxx =================================================================== --- tigervnc-1.8.0.orig/win/winvnc/buildTime.cxx +++ tigervnc-1.8.0/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: tigervnc-1.8.0/CMakeLists.txt =================================================================== --- tigervnc-1.8.0.orig/CMakeLists.txt +++ tigervnc-1.8.0/CMakeLists.txt @@ -42,12 +42,6 @@ if(MSVC) message(FATAL_ERROR "TigerVNC cannot be built with Visual Studio. Please use MinGW") endif() -if(NOT BUILD_TIMESTAMP) - set(BUILD_TIMESTAMP "") - execute_process(COMMAND "date" "+%Y-%m-%d %H:%M" OUTPUT_VARIABLE BUILD_TIMESTAMP) - string(REGEX REPLACE "\n" "" BUILD_TIMESTAMP ${BUILD_TIMESTAMP}) -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: tigervnc-1.8.0/vncviewer/vncviewer.cxx =================================================================== --- tigervnc-1.8.0.orig/vncviewer/vncviewer.cxx +++ tigervnc-1.8.0/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.txt)\n" "See http://www.tigervnc.org for information on TigerVNC."), - (int)sizeof(size_t)*8, PACKAGE_VERSION, - BUILD_TIMESTAMP, 2017); + (int)sizeof(size_t)*8, PACKAGE_VERSION, 2017); return buffer; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor