forked from pool/virtualbox
09fde748e6
Please accept only after pkg has built OBS-URL: https://build.opensuse.org/request/show/224474 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=154
184 lines
6.6 KiB
Diff
184 lines
6.6 KiB
Diff
Index: src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
|
===================================================================
|
|
--- src/VBox/Frontends/VBoxFB/VBoxFB.cpp.orig
|
|
+++ src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
|
@@ -62,7 +62,7 @@ int main(int argc, char *argv[])
|
|
|
|
printf("VirtualBox DirectFB GUI built %s %s\n"
|
|
"(C) 2004-" VBOX_C_YEAR " " VBOX_VENDOR "\n"
|
|
- "(C) 2004-2005 secunet Security Networks AG\n", __DATE__, __TIME__);
|
|
+ "(C) 2004-2005 secunet Security Networks AG\n");
|
|
|
|
for (;;)
|
|
{
|
|
Index: src/VBox/Runtime/common/string/uniread.cpp
|
|
===================================================================
|
|
--- src/VBox/Runtime/common/string/uniread.cpp.orig
|
|
+++ src/VBox/Runtime/common/string/uniread.cpp
|
|
@@ -979,7 +979,7 @@ int PrintHeader(const char *argv0)
|
|
" *\n"
|
|
" * IPRT - Unicode Tables.\n"
|
|
" *\n"
|
|
- " * Automatically Generated by %s (" __DATE__ " " __TIME__ ")\n"
|
|
+ " * Automatically Generated by %s\n"
|
|
" */\n"
|
|
"\n"
|
|
"/*\n"
|
|
Index: src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
|
===================================================================
|
|
--- src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c.orig
|
|
+++ src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
|
@@ -42,16 +42,13 @@
|
|
/**************************IDENTITY AND VERSIONING***********************/
|
|
/************************************************************************/
|
|
#include "_pl_bld.h"
|
|
-#if !defined(_BUILD_TIME)
|
|
-#ifdef HAVE_LONG_LONG
|
|
-#define _BUILD_TIME 0
|
|
-#else
|
|
+
|
|
+#undef _BUILD_TIME
|
|
#define _BUILD_TIME {0, 0}
|
|
-#endif
|
|
-#endif
|
|
-#if !defined(_BUILD_STRING)
|
|
+
|
|
+#undef _BUILD_STRING
|
|
#define _BUILD_STRING ""
|
|
-#endif
|
|
+
|
|
#if !defined(_PRODUCTION)
|
|
#define _PRODUCTION ""
|
|
#endif
|
|
Index: src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
|
===================================================================
|
|
--- src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c.orig
|
|
+++ src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
|
@@ -44,16 +44,10 @@
|
|
#ifndef XP_MAC
|
|
#include "_pr_bld.h"
|
|
#endif
|
|
-#if !defined(_BUILD_TIME)
|
|
-#ifdef HAVE_LONG_LONG
|
|
-#define _BUILD_TIME 0
|
|
-#else
|
|
+#undef _BUILD_TIME
|
|
#define _BUILD_TIME {0, 0}
|
|
-#endif
|
|
-#endif
|
|
-#if !defined(_BUILD_STRING)
|
|
+#undef _BUILD_STRING
|
|
#define _BUILD_STRING ""
|
|
-#endif
|
|
#if !defined(_PRODUCTION)
|
|
#define _PRODUCTION ""
|
|
#endif
|
|
Index: src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
|
===================================================================
|
|
--- src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c.orig
|
|
+++ src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
|
@@ -42,16 +42,13 @@
|
|
/**************************IDENTITY AND VERSIONING***********************/
|
|
/************************************************************************/
|
|
#include "_pl_bld.h"
|
|
-#if !defined(_BUILD_TIME)
|
|
-#ifdef HAVE_LONG_LONG
|
|
-#define _BUILD_TIME 0
|
|
-#else
|
|
+
|
|
+#undef _BUILD_TIME
|
|
#define _BUILD_TIME {0, 0}
|
|
-#endif
|
|
-#endif
|
|
-#if !defined(_BUILD_STRING)
|
|
+
|
|
+#undef _BUILD_STRING
|
|
#define _BUILD_STRING ""
|
|
-#endif
|
|
+
|
|
#if !defined(_PRODUCTION)
|
|
#define _PRODUCTION ""
|
|
#endif
|
|
Index: src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
|
===================================================================
|
|
--- src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c.orig
|
|
+++ src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
|
@@ -42,16 +42,13 @@
|
|
/**************************IDENTITY AND VERSIONING***********************/
|
|
/************************************************************************/
|
|
#include "_pl_bld.h"
|
|
-#if !defined(_BUILD_TIME)
|
|
-#ifdef HAVE_LONG_LONG
|
|
-#define _BUILD_TIME 0
|
|
-#else
|
|
+
|
|
+#undef _BUILD_TIME
|
|
#define _BUILD_TIME {0, 0}
|
|
-#endif
|
|
-#endif
|
|
-#if !defined(_BUILD_STRING)
|
|
+
|
|
+#undef _BUILD_STRING
|
|
#define _BUILD_STRING ""
|
|
-#endif
|
|
+
|
|
#if !defined(_PRODUCTION)
|
|
#define _PRODUCTION ""
|
|
#endif
|
|
Index: src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
|
===================================================================
|
|
--- src/VBox/Additions/common/VBoxService/VBoxService.cpp.orig
|
|
+++ src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
|
@@ -161,10 +161,10 @@ static void VBoxServiceLogHeaderFooter(P
|
|
case RTLOGPHASE_BEGIN:
|
|
{
|
|
pfnLog(pLoggerRelease,
|
|
- "VBoxService %s r%s (verbosity: %d) %s (%s %s) release log\n"
|
|
+ "VBoxService %s r%s (verbosity: %d) %s (%s %s) release log\n"
|
|
"Log opened %s\n",
|
|
RTBldCfgVersion(), RTBldCfgRevisionStr(), g_cVerbosity, VBOX_BUILD_TARGET,
|
|
- __DATE__, __TIME__, szTmp);
|
|
+ "openSUSE","Buildservice",szTmp);
|
|
|
|
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
|
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
|
Index: src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp
|
|
===================================================================
|
|
--- src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp.orig
|
|
+++ src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp
|
|
@@ -148,7 +148,7 @@ static int vboxInitLogging(const char *p
|
|
#endif
|
|
"Log opened %s\n",
|
|
VBOX_VERSION_STRING, RTBldCfgRevision(), VBOX_BUILD_TARGET,
|
|
- __DATE__, __TIME__, szTmp);
|
|
+ "openSUSE", "Buildservice", szTmp);
|
|
|
|
vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
|
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
|
Index: src/VBox/Devices/PC/BIOS/bios.c
|
|
===================================================================
|
|
--- src/VBox/Devices/PC/BIOS/bios.c.orig
|
|
+++ src/VBox/Devices/PC/BIOS/bios.c
|
|
@@ -159,7 +159,7 @@ void set_mode(uint8_t mode);
|
|
|
|
#define BX_PCIBIOS 1
|
|
#define BX_APPNAME "VirtualBox"
|
|
-#define BIOS_BUILD_DATE __DATE__
|
|
+#define BIOS_BUILD_DATE "openSUSE Buildservice"
|
|
//--------------------------------------------------------------------------
|
|
// print_bios_banner
|
|
// displays a the bios version
|
|
Index: src/VBox/Main/glue/com.cpp
|
|
===================================================================
|
|
--- src/VBox/Main/glue/com.cpp.orig
|
|
+++ src/VBox/Main/glue/com.cpp
|
|
@@ -294,7 +294,7 @@ static void vboxHeaderFooter(PRTLOGGER p
|
|
#endif
|
|
"Log opened %s\n",
|
|
g_pszLogEntity, VBOX_VERSION_STRING, RTBldCfgRevision(),
|
|
- RTBldCfgTargetDotArch(), __DATE__, __TIME__, szTmp);
|
|
+ RTBldCfgTargetDotArch(), "openSUSE", "Buildservice", szTmp);
|
|
|
|
pfnLog(pReleaseLogger, "Build Type: %s\n", KBUILD_TYPE);
|
|
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|