Compare commits
No commits in common. "factory" and "devel" have entirely different histories.
23
VirtualBox-5.2.10-xclient.patch
Normal file
23
VirtualBox-5.2.10-xclient.patch
Normal file
@ -0,0 +1,23 @@
|
||||
Index: VirtualBox-7.0.14/src/VBox/Additions/x11/Installer/98vboxadd-xclient
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/x11/Installer/98vboxadd-xclient
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/x11/Installer/98vboxadd-xclient
|
||||
@@ -31,15 +31,9 @@ for i in $HOME/.vboxclient-*.pid; do
|
||||
test -w $i || rm -f $i
|
||||
done
|
||||
|
||||
-if ! test -c /dev/vboxguest 2>/dev/null; then
|
||||
- # Do not start if the kernel module is not present.
|
||||
- # Execute notify-send in the back-ground to avoid racing with sddm,
|
||||
- # as notify-send may wait for sddm to start while it waits for us to exit.
|
||||
- notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." &
|
||||
-elif test -z "${SSH_CONNECTION}"; then
|
||||
- # This script can also be triggered by a connection over SSH, which is not
|
||||
- # what we had in mind, so we do not start VBoxClient in that case. We do
|
||||
- # not use "exit" here as this script is "source"d, not executed.
|
||||
+# Do not start if the kernel module is not present; or if this script is
|
||||
+# triggered by a connection over SSH.
|
||||
+if [ -c /dev/vboxguest -a -z "${SSH_CONNECTION}" ]; then
|
||||
/usr/bin/VBoxClient --clipboard
|
||||
/usr/bin/VBoxClient --checkhostversion
|
||||
/usr/bin/VBoxClient --seamless
|
24
fix-missing-includes-with-qt-5.15.patch
Normal file
24
fix-missing-includes-with-qt-5.15.patch
Normal file
@ -0,0 +1,24 @@
|
||||
Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp
|
||||
@@ -28,6 +28,7 @@
|
||||
/* Qt includes: */
|
||||
#include <QApplication>
|
||||
#include <QLabel>
|
||||
+#include <QPainterPath>
|
||||
#include <QPaintEvent>
|
||||
#include <QStyle>
|
||||
#include <QVBoxLayout>
|
||||
Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
|
||||
+++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
|
||||
@@ -47,7 +47,6 @@ class QIcon;
|
||||
class QLabel;
|
||||
class QMouseEvent;
|
||||
class QObject;
|
||||
-class QPainterPath;
|
||||
class QPaintEvent;
|
||||
class QResizeEvent;
|
||||
class QString;
|
28
fix_7.0.6_locking_problems.patch
Normal file
28
fix_7.0.6_locking_problems.patch
Normal file
@ -0,0 +1,28 @@
|
||||
Index: VirtualBox-7.0.14/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
|
||||
@@ -4537,9 +4537,11 @@ static int supdrvTscDeltaThreadWait(PSUP
|
||||
*/
|
||||
static void supdrvTscDeltaThreadStartMeasurement(PSUPDRVDEVEXT pDevExt, bool fForceAll)
|
||||
{
|
||||
+ if (!pDevExt || ! pDevExt->hTscDeltaSpinlock)
|
||||
+ return;
|
||||
+ RTSpinlockAcquire(pDevExt->hTscDeltaSpinlock);
|
||||
if (pDevExt->hTscDeltaThread != NIL_RTTHREAD)
|
||||
{
|
||||
- RTSpinlockAcquire(pDevExt->hTscDeltaSpinlock);
|
||||
if ( pDevExt->enmTscDeltaThreadState == kTscDeltaThreadState_Listening
|
||||
|| pDevExt->enmTscDeltaThreadState == kTscDeltaThreadState_Measuring)
|
||||
{
|
||||
@@ -4550,9 +4552,9 @@ static void supdrvTscDeltaThreadStartMea
|
||||
else if ( pDevExt->enmTscDeltaThreadState == kTscDeltaThreadState_WaitAndMeasure
|
||||
&& fForceAll)
|
||||
pDevExt->fTscThreadRecomputeAllDeltas = true;
|
||||
- RTSpinlockRelease(pDevExt->hTscDeltaSpinlock);
|
||||
RTThreadUserSignal(pDevExt->hTscDeltaThread);
|
||||
}
|
||||
+ RTSpinlockRelease(pDevExt->hTscDeltaSpinlock);
|
||||
}
|
||||
|
||||
|
13
fix_conflict_between_host_and_guest.patch
Normal file
13
fix_conflict_between_host_and_guest.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: VirtualBox-7.0.14/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.c
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.c
|
||||
@@ -140,7 +140,7 @@ static struct vboxguest_module_info g_VB
|
||||
RTMemAllocExTag,
|
||||
RTMemContAlloc,
|
||||
RTMemContFree,
|
||||
- RTMemFreeEx,
|
||||
+ RTMemFreeExG,
|
||||
RTMpIsCpuPossible,
|
||||
RTMpNotificationDeregister,
|
||||
RTMpNotificationRegister,
|
110
fixes_for_leap15.6.patch
Normal file
110
fixes_for_leap15.6.patch
Normal file
@ -0,0 +1,110 @@
|
||||
Index: VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
|
||||
+++ VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
|
||||
@@ -1292,9 +1292,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser
|
||||
IPRT_LINUX_SAVE_EFL_AC();
|
||||
const int cPages = cb >> PAGE_SHIFT;
|
||||
struct task_struct *pTask = rtR0ProcessToLinuxTask(R0Process);
|
||||
-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
|
||||
- struct vm_area_struct **papVMAs;
|
||||
-# endif
|
||||
PRTR0MEMOBJLNX pMemLnx;
|
||||
int rc = VERR_NO_MEMORY;
|
||||
int const fWrite = fAccess & RTMEM_PROT_WRITE ? 1 : 0;
|
||||
@@ -1318,11 +1315,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser
|
||||
return VERR_NO_MEMORY;
|
||||
}
|
||||
|
||||
-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
|
||||
- papVMAs = (struct vm_area_struct **)RTMemAlloc(sizeof(*papVMAs) * cPages);
|
||||
- if (papVMAs)
|
||||
- {
|
||||
-# endif
|
||||
LNX_MM_DOWN_READ(pTask->mm);
|
||||
|
||||
/*
|
||||
@@ -1342,9 +1334,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser
|
||||
fWrite, /* force write access. */
|
||||
# endif
|
||||
&pMemLnx->apPages[0] /* Page array. */
|
||||
-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) && !RTLNX_SUSE_MAJ_PREREQ(15, 6)
|
||||
- , papVMAs /* vmas */
|
||||
-# endif
|
||||
);
|
||||
/*
|
||||
* Actually this should not happen at the moment as call this function
|
||||
@@ -1367,12 +1356,7 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser
|
||||
fWrite, /* force write access. */
|
||||
# endif
|
||||
&pMemLnx->apPages[0] /* Page array. */
|
||||
-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
|
||||
- , papVMAs /* vmas */
|
||||
-# endif
|
||||
-# if GET_USER_PAGES_API >= KERNEL_VERSION(4, 10, 0)
|
||||
- , NULL /* locked */
|
||||
-# endif
|
||||
+ , NULL, NULL
|
||||
);
|
||||
#else /* GET_USER_PAGES_API < KERNEL_VERSION(4, 6, 0) */
|
||||
rc = get_user_pages(pTask, /* Task for fault accounting. */
|
||||
@@ -1389,9 +1373,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser
|
||||
fWrite, /* force write access. */
|
||||
# endif
|
||||
&pMemLnx->apPages[0] /* Page array. */
|
||||
-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) && && !defined(OPENSUSE_156)
|
||||
- , papVMAs /* vmas */
|
||||
-# endif
|
||||
);
|
||||
#endif /* GET_USER_PAGES_API < KERNEL_VERSION(4, 6, 0) */
|
||||
if (rc == cPages)
|
||||
@@ -1415,21 +1396,10 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser
|
||||
while (rc-- > 0)
|
||||
{
|
||||
flush_dcache_page(pMemLnx->apPages[rc]);
|
||||
-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
|
||||
-# if RTLNX_VER_MIN(6,3,0)
|
||||
- vm_flags_set(papVMAs[rc], VM_DONTCOPY | VM_LOCKED);
|
||||
-# else
|
||||
- papVMAs[rc]->vm_flags |= VM_DONTCOPY | VM_LOCKED;
|
||||
-# endif
|
||||
-# endif
|
||||
}
|
||||
|
||||
LNX_MM_UP_READ(pTask->mm);
|
||||
|
||||
-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
|
||||
- RTMemFree(papVMAs);
|
||||
-# endif
|
||||
-
|
||||
pMemLnx->Core.u.Lock.R0Process = R0Process;
|
||||
pMemLnx->cPages = cPages;
|
||||
Assert(!pMemLnx->fMappedToRing0);
|
||||
@@ -1457,11 +1427,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser
|
||||
|
||||
rc = VERR_LOCK_FAILED;
|
||||
|
||||
-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
|
||||
- RTMemFree(papVMAs);
|
||||
- }
|
||||
-# endif
|
||||
-
|
||||
rtR0MemObjDelete(&pMemLnx->Core);
|
||||
IPRT_LINUX_RESTORE_EFL_AC();
|
||||
return rc;
|
||||
Index: VirtualBox-7.0.14/src/VBox/Additions/linux/sharedfolders/regops.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/sharedfolders/regops.c
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/linux/sharedfolders/regops.c
|
||||
@@ -270,11 +270,7 @@ static ssize_t vbsf_iov_iter_get_pages(s
|
||||
size_t cPagesLocked;
|
||||
|
||||
down_read(&pTask->mm->mmap_sem);
|
||||
-#if defined(OPENSUSE_156)
|
||||
cPagesLocked = get_user_pages(pTask, pTask->mm, uPtrFrom, cPages);
|
||||
-#else
|
||||
- cPagesLocked = get_user_pages(pTask, pTask->mm, uPtrFrom, cPages, iter->v_write, 1 /*force*/, papPages, NULL);
|
||||
-#endif
|
||||
up_read(&pTask->mm->mmap_sem);
|
||||
if (cPagesLocked == cPages) {
|
||||
size_t cbRet = (cPages << PAGE_SHIFT) - offPg0;
|
107
fixes_for_vboxconfig.patch
Normal file
107
fixes_for_vboxconfig.patch
Normal file
@ -0,0 +1,107 @@
|
||||
Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/nls/VirtualBox_lt.ts
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/nls/VirtualBox_lt.ts
|
||||
+++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/nls/VirtualBox_lt.ts
|
||||
@@ -92,19 +92,19 @@
|
||||
<translation type="vanished">VirtualBox Linux branduolio modulis (vboxdrv) arba nėra įkeltas, arba nepakanka leidimų dirbti su /dev/vboxdrv. Iš naujo įdiekite branduolio modulį root teisėmis įvykdydami <br/><br/><font color=blue>'/sbin/rcvboxdrv setup'</font><br/><br/>. Jei įmanoma pirma turite įsidiegti DKMS paketą. Šis paketas seka Linux branduolio pakeitimus ir, jei reikia, perkompiliuoja vboxdrv branduolio modulį.</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <source>The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>as root.</source>
|
||||
- <translation type="vanished">VirtualBox Linux branduolio tvarkyklė (vboxdrv) neįkelta arba /dev/vboxdrv turi bėdų su leidimais. Iš naujo įdiekite branduolio modulį įvykdydami <br/><br/> <font color=blue>/sbin/vboxconfig</font><br/><br/> administratoriaus (root) teisėmis.</translation>
|
||||
+ <source>The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>as root.</source>
|
||||
+ <translation type="vanished">VirtualBox Linux branduolio tvarkyklė (vboxdrv) neįkelta arba /dev/vboxdrv turi bėdų su leidimais. Iš naujo įdiekite branduolio modulį įvykdydami <br/><br/> <font color=blue>/usr/sbin/vboxconfig</font><br/><br/> administratoriaus (root) teisėmis.</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <source>The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.</source>
|
||||
- <translation type="vanished">VirtualBox branduolio modulis neatitinka VirtualBox versijos. Panašu, kad VirtualBox diegimas nebuvo sėkmingas. Pataisyti gali pavykti įvykdžius<br/><br/> <font color=blue>/sbin/vboxconfig</font><br/><br/> Įsitikinkite, ar nemaišote VirtualBox OSE ir PUEL versijų.</translation>
|
||||
+ <source>The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.</source>
|
||||
+ <translation type="vanished">VirtualBox branduolio modulis neatitinka VirtualBox versijos. Panašu, kad VirtualBox diegimas nebuvo sėkmingas. Pataisyti gali pavykti įvykdžius<br/><br/> <font color=blue>/usr/sbin/vboxconfig</font><br/><br/> Įsitikinkite, ar nemaišote VirtualBox OSE ir PUEL versijų.</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <source>The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>as root.<br/><br/>If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.</source>
|
||||
+ <source>The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>as root.<br/><br/>If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
- <source>The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.</source>
|
||||
+ <source>The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/nls/VirtualBox_tr.ts
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/nls/VirtualBox_tr.ts
|
||||
+++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/nls/VirtualBox_tr.ts
|
||||
@@ -148,20 +148,20 @@
|
||||
<translation type="obsolete">Kare Boyutu: %1x%2, Kare Oranı: %3fps, Bit Oranı: %4kbps</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <source>The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>as root.</source>
|
||||
- <translation type="vanished">VirtualBox Linux çekirdek sürücüsü (vboxdrv) ya yüklenmedi ya da /dev/vboxdrv ile ilgili izin sorunu var. Lütfen root kullanıcısı olarak <br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırarak çekirdek modülünü yeniden yükleyin.</translation>
|
||||
+ <source>The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>as root.</source>
|
||||
+ <translation type="vanished">VirtualBox Linux çekirdek sürücüsü (vboxdrv) ya yüklenmedi ya da /dev/vboxdrv ile ilgili izin sorunu var. Lütfen root kullanıcısı olarak <br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırarak çekirdek modülünü yeniden yükleyin.</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <source>The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.</source>
|
||||
- <translation type="vanished">VirtualBox çekirdek modülleri VirtualBox'ın bu sürümüyle uyuşmuyor. VirtualBox'ın kurulumu görünüşe göre başarılı olmadı. <br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırmak bunu düzeltebilir. VirtualBox'ın OSE ve PUEL sürümlerini karıştırmadığınızdan emin olun.</translation>
|
||||
+ <source>The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.</source>
|
||||
+ <translation type="vanished">VirtualBox çekirdek modülleri VirtualBox'ın bu sürümüyle uyuşmuyor. VirtualBox'ın kurulumu görünüşe göre başarılı olmadı. <br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırmak bunu düzeltebilir. VirtualBox'ın OSE ve PUEL sürümlerini karıştırmadığınızdan emin olun.</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <source>The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>as root.<br/><br/>If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.</source>
|
||||
- <translation>VirtualBox Linux çekirdek sürücüsü ya yüklenmedi ya da doğru olarak ayarlanmadı. Lütfen root kullanıcısı olarak <br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırarak bunu tekrar ayarlamayı deneyin. Eğer sisteminizde EFI Secure Boot etkinleştirildiyse, çekirdek modüllerini (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) yüklemeden önce ayrıca bunları imzalamanız gerekebilir. Lütfen daha fazla bilgi için Linux sisteminin belgelerine bakın.</translation>
|
||||
+ <source>The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>as root.<br/><br/>If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.</source>
|
||||
+ <translation>VirtualBox Linux çekirdek sürücüsü ya yüklenmedi ya da doğru olarak ayarlanmadı. Lütfen root kullanıcısı olarak <br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırarak bunu tekrar ayarlamayı deneyin. Eğer sisteminizde EFI Secure Boot etkinleştirildiyse, çekirdek modüllerini (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) yüklemeden önce ayrıca bunları imzalamanız gerekebilir. Lütfen daha fazla bilgi için Linux sisteminin belgelerine bakın.</translation>
|
||||
</message>
|
||||
<message>
|
||||
- <source>The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.</source>
|
||||
- <translation>VirtualBox çekirdek modülleri VirtualBox'ın bu sürümüyle uyuşmuyor. VirtualBox'ın kurulumu görünüşe göre başarılı olmadı. <br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırmak bunu düzeltebilir. Farklı kaynaklardan gelen VirtualBox'ın yapımlarını karıştırmadığınızdan emin olun.</translation>
|
||||
+ <source>The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.</source>
|
||||
+ <translation>VirtualBox çekirdek modülleri VirtualBox'ın bu sürümüyle uyuşmuyor. VirtualBox'ın kurulumu görünüşe göre başarılı olmadı. <br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırmak bunu düzeltebilir. Farklı kaynaklardan gelen VirtualBox'ın yapımlarını karıştırmadığınızdan emin olun.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/main.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/src/main.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/main.cpp
|
||||
@@ -99,7 +99,7 @@ QString g_QStrHintLinuxNoMemory = QAppli
|
||||
QString g_QStrHintLinuxNoDriver = QApplication::tr(
|
||||
"The VirtualBox Linux kernel driver is either not loaded or not set "
|
||||
"up correctly. Please try setting it up again by executing<br/><br/>"
|
||||
- " <font color=blue>'/sbin/vboxconfig'</font><br/><br/>"
|
||||
+ " <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>"
|
||||
"as root.<br/><br/>"
|
||||
"If your system has EFI Secure Boot enabled you may also need to sign "
|
||||
"the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before "
|
||||
@@ -118,7 +118,7 @@ QString g_QStrHintLinuxWrongDriverVersio
|
||||
"The VirtualBox kernel modules do not match this version of "
|
||||
"VirtualBox. The installation of VirtualBox was apparently not "
|
||||
"successful. Executing<br/><br/>"
|
||||
- " <font color=blue>'/sbin/vboxconfig'</font><br/><br/>"
|
||||
+ " <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>"
|
||||
"may correct this. Make sure that you are not mixing builds "
|
||||
"of VirtualBox from different sources."
|
||||
);
|
||||
Index: VirtualBox-7.0.14/src/VBox/Installer/linux/VBox.sh
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Installer/linux/VBox.sh
|
||||
+++ VirtualBox-7.0.14/src/VBox/Installer/linux/VBox.sh
|
||||
@@ -72,7 +72,7 @@ WARNING: The vboxdrv kernel module is no
|
||||
available for the current kernel (`uname -r`) or it failed to
|
||||
load. Please recompile the kernel module and install it by
|
||||
|
||||
- sudo /sbin/vboxconfig
|
||||
+ sudo /usr/sbin/vboxconfig
|
||||
|
||||
You will not be able to start VMs until this problem is fixed.
|
||||
EOF
|
||||
@@ -80,7 +80,7 @@ elif [ ! -c /dev/vboxdrv ]; then
|
||||
cat << EOF
|
||||
WARNING: The character device /dev/vboxdrv does not exist. Try
|
||||
|
||||
- sudo /sbin/vboxconfig
|
||||
+ sudo /usr/sbin/vboxconfig
|
||||
|
||||
and if that is not successful, try to re-install the package.
|
||||
|
22
libxml21206.patch
Normal file
22
libxml21206.patch
Normal file
@ -0,0 +1,22 @@
|
||||
Index: VirtualBox-7.0.18/src/libs/libxml2-2.12.6/include/vboxconfig.h
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.18.orig/src/libs/libxml2-2.12.6/include/vboxconfig.h
|
||||
+++ VirtualBox-7.0.18/src/libs/libxml2-2.12.6/include/vboxconfig.h
|
||||
@@ -387,7 +387,7 @@
|
||||
#define PACKAGE_TARNAME ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
-#define PACKAGE_VERSION "2.6.30"
|
||||
+#define PACKAGE_VERSION "2.12.6"
|
||||
|
||||
/* Define to 1 if the C compiler supports function prototypes. */
|
||||
#define PROTOTYPES 1
|
||||
@@ -399,7 +399,7 @@
|
||||
#undef SUPPORT_IP6
|
||||
|
||||
/* Version number of package */
|
||||
-#define VERSION "2.6.30"
|
||||
+#define VERSION "2.12.6"
|
||||
|
||||
/* Determine what socket length (socklen_t) data type is */
|
||||
#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
|
40
security_fixes.patch
Normal file
40
security_fixes.patch
Normal file
@ -0,0 +1,40 @@
|
||||
# This patch file is to warn future maintainers of VirtualBox on openSUSE
|
||||
# platforms that the distributed versions of vboxadd.sh and vboxdrv.sh
|
||||
# contain security holes. If you need to use these scripts in the future,
|
||||
# please consult the Security Group at openSUSE.
|
||||
#
|
||||
# January 31, 2019 - Larry Finger
|
||||
#
|
||||
Index: VirtualBox-7.0.14/src/VBox/Additions/linux/installer/vboxadd.sh
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/installer/vboxadd.sh
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/linux/installer/vboxadd.sh
|
||||
@@ -1228,9 +1228,11 @@ dmnstatus()
|
||||
fi
|
||||
}
|
||||
|
||||
-for i; do
|
||||
- case "$i" in quiet) QUIET=yes;; esac
|
||||
-done
|
||||
+echo "This script has insecurities. It must never be used in openSUSE without consultine Security."
|
||||
+exit 1
|
||||
+
|
||||
+case "$2" in quiet)
|
||||
+ QUIET=yes;;
|
||||
case "$1" in
|
||||
# Does setup without clean-up first and marks all kernels currently found on the
|
||||
# system so that we can see later if any were added.
|
||||
Index: VirtualBox-7.0.14/src/VBox/Installer/linux/vboxdrv.sh
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Installer/linux/vboxdrv.sh
|
||||
+++ VirtualBox-7.0.14/src/VBox/Installer/linux/vboxdrv.sh
|
||||
@@ -48,6 +48,9 @@ DEVICE=/dev/vboxdrv
|
||||
MODPROBE=/sbin/modprobe
|
||||
SCRIPTNAME=vboxdrv.sh
|
||||
|
||||
+echo "This script has insecurities. It must never be used in openSUSE without consultine Security."
|
||||
+exit 1
|
||||
+
|
||||
# The below is GNU-specific. See VBox.sh for the longer Solaris/OS X version.
|
||||
TARGET=`readlink -e -- "${0}"` || exit 1
|
||||
SCRIPT_DIR="${TARGET%/[!/]*}"
|
406
vbox-no-build-dates.diff
Normal file
406
vbox-no-build-dates.diff
Normal file
@ -0,0 +1,406 @@
|
||||
Index: VirtualBox-7.0.14/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
|
||||
@@ -72,7 +72,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
printf("VirtualBox DirectFB GUI built %s %s\n"
|
||||
"Copyright (C) 2004-" VBOX_C_YEAR " " VBOX_VENDOR "\n"
|
||||
- "Copyright (C) 2004-2005 secunet Security Networks AG\n", __DATE__, __TIME__);
|
||||
+ "Copyright (C) 2004-2005 secunet Security Networks AG\n");
|
||||
|
||||
fputs("\nWARNING! Unmaintained code.\nWARNING! Needs fixing & debugging!\n\n", stdout);
|
||||
|
||||
Index: VirtualBox-7.0.14/src/VBox/Runtime/common/string/uniread.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Runtime/common/string/uniread.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Runtime/common/string/uniread.cpp
|
||||
@@ -1049,7 +1049,7 @@ int PrintHeader(const char *argv0, const
|
||||
" * IPRT - Unicode Tables.\n"
|
||||
" *\n"
|
||||
" * Automatically Generated from %s\n"
|
||||
- " * by %s (" __DATE__ " " __TIME__ ")\n"
|
||||
+ " * by %s\n"
|
||||
" */\n"
|
||||
"\n"
|
||||
"/*\n"
|
||||
Index: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c
|
||||
+++ VirtualBox-7.0.14/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: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c
|
||||
+++ VirtualBox-7.0.14/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: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c
|
||||
+++ VirtualBox-7.0.14/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: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c
|
||||
+++ VirtualBox-7.0.14/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: VirtualBox-7.0.14/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp
|
||||
@@ -327,7 +327,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: VirtualBox-7.0.14/src/VBox/Devices/PC/BIOS/bios.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Devices/PC/BIOS/bios.c
|
||||
+++ VirtualBox-7.0.14/src/VBox/Devices/PC/BIOS/bios.c
|
||||
@@ -164,7 +164,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: VirtualBox-7.0.14/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/common/VBoxService/VBoxService.cpp
|
||||
@@ -255,7 +255,7 @@ static DECLCALLBACK(void) vgsvcLogHeader
|
||||
"VBoxService %s r%s (verbosity: %u) %s (%s %s) release log\n"
|
||||
"Log opened %s\n",
|
||||
RTBldCfgVersion(), RTBldCfgRevisionStr(), g_cVerbosity, VBOX_BUILD_TARGET,
|
||||
- __DATE__, __TIME__, szTmp);
|
||||
+ "openSUSE", "Build Service", szTmp);
|
||||
|
||||
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
||||
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
||||
Index: VirtualBox-7.0.14/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
||||
+++ VirtualBox-7.0.14/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk
|
||||
@@ -193,7 +193,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_BUSMOUSE_MA
|
||||
$(VBoxBusMouseIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
||||
$(VBoxBusMouseIns_0_OUTDIR)/Stage/ExtPack.signature
|
||||
# Tar it up.
|
||||
- tar -cvf - -C $(VBoxBusMouseIns_0_OUTDIR)/Stage/ . | gzip -9c > $@
|
||||
+ tar -cvf - -C $(VBoxBusMouseIns_0_OUTDIR)/Stage/ . | gzip -9nc > $@
|
||||
# Clean up
|
||||
$(RM) -Rf $(VBoxBusMouseIns_0_OUTDIR)/Stage/
|
||||
|
||||
Index: VirtualBox-7.0.14/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
||||
+++ VirtualBox-7.0.14/src/VBox/ExtPacks/Skeleton/Makefile.kmk
|
||||
@@ -161,7 +161,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_SKELETON_MA
|
||||
$(VBoxSkeletonIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
||||
$(VBoxSkeletonIns_0_OUTDIR)/Stage/ExtPack.signature
|
||||
# Tar it up.
|
||||
- tar -cvf - -C $(VBoxSkeletonIns_0_OUTDIR)/Stage/ . | gzip -9c > $@
|
||||
+ tar -cvf - -C $(VBoxSkeletonIns_0_OUTDIR)/Stage/ . | gzip -9nc > $@
|
||||
# Clean up
|
||||
$(RM) -Rf $(VBoxSkeletonIns_0_OUTDIR)/Stage/
|
||||
|
||||
Index: VirtualBox-7.0.14/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
||||
+++ VirtualBox-7.0.14/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
|
||||
@@ -354,7 +354,7 @@ if defined(VBOX_WITH_EXTPACK_VBOXDTRACE)
|
||||
$(VBoxDTraceIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
||||
$(VBoxDTraceIns_0_OUTDIR)/Stage/ExtPack.signature
|
||||
# Tar it up.
|
||||
- tar -cvf - -C $(VBoxDTraceIns_0_OUTDIR)/Stage/ . | gzip -9c > $@
|
||||
+ tar -cvf - -C $(VBoxDTraceIns_0_OUTDIR)/Stage/ . | gzip -9nc > $@
|
||||
# Clean up
|
||||
$(RM) -Rf $(VBoxDTraceIns_0_OUTDIR)/Stage/
|
||||
|
||||
Index: VirtualBox-7.0.14/src/VBox/ExtPacks/VNC/Makefile.kmk
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/ExtPacks/VNC/Makefile.kmk
|
||||
+++ VirtualBox-7.0.14/src/VBox/ExtPacks/VNC/Makefile.kmk
|
||||
@@ -164,7 +164,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_VNC_MANGLED
|
||||
$(VBoxVNCIns_0_OUTDIR)/Stage/ExtPack.manifest \
|
||||
$(VBoxVNCIns_0_OUTDIR)/Stage/ExtPack.signature
|
||||
# Tar it up.
|
||||
- tar -cvf - -C $(VBoxVNCIns_0_OUTDIR)/Stage/ . | gzip -9c > $@
|
||||
+ tar -cvf - -C $(VBoxVNCIns_0_OUTDIR)/Stage/ . | gzip -9nc > $@
|
||||
# Clean up
|
||||
$(RM) -Rf $(VBoxVNCIns_0_OUTDIR)/Stage/
|
||||
|
||||
Index: VirtualBox-7.0.14/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
|
||||
@@ -329,7 +329,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT pDrv
|
||||
}
|
||||
VGDrvCommonInitLoggers();
|
||||
|
||||
- LogFunc(("Driver built: %s %s\n", __DATE__, __TIME__));
|
||||
+ LogFunc(("Driver built: %s %s\n", "no date", "no time"));
|
||||
|
||||
/*
|
||||
* Check if the NT version is supported and initialize g_enmVGDrvNtVer.
|
||||
Index: VirtualBox-7.0.14/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
|
||||
@@ -882,7 +882,7 @@ static DECLCALLBACK(void) vboxGreeterLog
|
||||
"vbox-greeter %s r%s (verbosity: %d) %s (%s %s) release log\n"
|
||||
"Log opened %s\n",
|
||||
RTBldCfgVersion(), RTBldCfgRevisionStr(), g_iVerbosity, VBOX_BUILD_TARGET,
|
||||
- __DATE__, __TIME__, szTmp);
|
||||
+ "no date", "no time", szTmp);
|
||||
|
||||
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
||||
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
||||
Index: VirtualBox-7.0.14/src/VBox/Additions/solaris/Mouse/vboxms.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/solaris/Mouse/vboxms.c
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/solaris/Mouse/vboxms.c
|
||||
@@ -266,7 +266,7 @@ static VBMSSTATE g_OpenNodeSt
|
||||
int _init(void)
|
||||
{
|
||||
int rc;
|
||||
- LogRelFlow((DEVICE_NAME ": built on " __DATE__ " at " __TIME__ "\n"));
|
||||
+ LogRelFlow((DEVICE_NAME ": built on " "no date" " at " "no time" "\n"));
|
||||
mutex_init(&g_OpenNodeState.InitMtx, NULL, MUTEX_DRIVER, NULL);
|
||||
/*
|
||||
* Prevent module autounloading.
|
||||
Index: VirtualBox-7.0.14/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c
|
||||
+++ VirtualBox-7.0.14/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c
|
||||
@@ -251,10 +251,10 @@ Returns:
|
||||
UTILITY_NAME,
|
||||
UTILITY_MAJOR_VERSION,
|
||||
UTILITY_MINOR_VERSION,
|
||||
- __BUILD_VERSION
|
||||
+ __BUILD_VERSION,
|
||||
+ "no date"
|
||||
);
|
||||
|
||||
- if (argc == 1) {
|
||||
Usage ();
|
||||
return -1;
|
||||
}
|
||||
Index: VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp
|
||||
@@ -128,7 +128,7 @@ static NTSTATUS vboxUsbDdiAddDevice(PDRI
|
||||
static VOID vboxUsbDdiUnload(PDRIVER_OBJECT pDriverObject)
|
||||
{
|
||||
RT_NOREF1(pDriverObject);
|
||||
- LogRel(("VBoxUsb::DriverUnload. Built Date (%s) Time (%s)\n", __DATE__, __TIME__));
|
||||
+ LogRel(("VBoxUsb::DriverUnload. Built Date (%s) Time (%s)\n", "no date", "no time"));
|
||||
VBoxDrvToolStrFree(&g_VBoxUsbGlobals.RegPath);
|
||||
|
||||
vboxUsbRtGlobalsTerm();
|
||||
@@ -284,7 +284,7 @@ RT_C_DECLS_END
|
||||
|
||||
NTSTATUS DriverEntry(IN PDRIVER_OBJECT pDriverObject, IN PUNICODE_STRING pRegistryPath)
|
||||
{
|
||||
- LogRel(("VBoxUsb::DriverEntry. Built Date (%s) Time (%s)\n", __DATE__, __TIME__));
|
||||
+ LogRel(("VBoxUsb::DriverEntry. Built Date (%s) Time (%s)\n", "no date", "no time"));
|
||||
|
||||
NTSTATUS Status = vboxUsbRtGlobalsInit();
|
||||
Assert(Status == STATUS_SUCCESS);
|
||||
Index: VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
|
||||
@@ -1518,7 +1518,7 @@ NTSTATUS _stdcall DriverEntry(PDRIVER_OB
|
||||
RTLogDestinations(0, "debugger");
|
||||
#endif
|
||||
|
||||
- LOGREL(("Built %s %s", __DATE__, __TIME__));
|
||||
+ LOGREL(("Built %s %s", "no date", "no time"));
|
||||
|
||||
memset (&g_VBoxUsbMonGlobals, 0, sizeof (g_VBoxUsbMonGlobals));
|
||||
|
||||
Index: VirtualBox-7.0.14/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Main/glue/VBoxLogRelCreate.cpp
|
||||
@@ -71,7 +71,7 @@ static DECLCALLBACK(void) vboxHeaderFoot
|
||||
#endif
|
||||
"Log opened %s\n",
|
||||
g_pszLogEntity, VBOX_VERSION_STRING, RTBldCfgRevision(),
|
||||
- RTBldCfgTargetDotArch(), __DATE__, __TIME__, szTmp);
|
||||
+ RTBldCfgTargetDotArch(), "no date", "no time", szTmp);
|
||||
|
||||
pfnLog(pReleaseLogger, "Build Type: %s\n", KBUILD_TYPE);
|
||||
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
||||
Index: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
||||
+++ VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c
|
||||
@@ -141,7 +141,7 @@ int main(int argc, char **argv)
|
||||
{
|
||||
PRIntn tab = 0;
|
||||
const PRVersionInfo *info = DummyLibVersion();
|
||||
- const char *buildDate = __DATE__, *buildTime = __TIME__;
|
||||
+ const char *buildDate = "no date", *buildTime = "no time";
|
||||
|
||||
printf("Depend.c build time is %s %s\n", buildDate, buildTime);
|
||||
|
||||
Index: VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp
|
||||
+++ VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp
|
||||
@@ -458,7 +458,7 @@ int
|
||||
main()
|
||||
{
|
||||
|
||||
- cout << "String performance profiling. Compiled " __DATE__ " " __TIME__ << endl;
|
||||
+ cout << "String performance profiling. Compiled nodate no time" << endl;
|
||||
#ifdef TEST_STD_STRING
|
||||
cout << "Testing std::string." << endl;
|
||||
#else
|
||||
Index: VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp
|
||||
+++ VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp
|
||||
@@ -425,7 +425,7 @@ int
|
||||
main()
|
||||
{
|
||||
int tests_failed = 0;
|
||||
- cout << "String unit tests. Compiled " __DATE__ " " __TIME__ << endl;
|
||||
+ cout << "String unit tests. Compiled no date no time" << endl;
|
||||
|
||||
#if 0
|
||||
{
|
||||
Index: VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
||||
+++ VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
|
||||
@@ -102,7 +102,7 @@ class test_message
|
||||
public:
|
||||
test_message()
|
||||
{
|
||||
- printf("BEGIN unit tests for |nsCOMPtr|, compiled " __DATE__ "\n");
|
||||
+ printf("BEGIN unit tests for |nsCOMPtr|, compiled no date\n");
|
||||
}
|
||||
|
||||
~test_message()
|
||||
Index: VirtualBox-7.0.14/src/VBox/Additions/3D/mesa/mesa-21.3.8/src/util/build_id.c
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/3D/mesa/mesa-21.3.8/src/util/build_id.c
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/3D/mesa/mesa-21.3.8/src/util/build_id.c
|
||||
@@ -30,9 +30,8 @@
|
||||
#include "build_id.h"
|
||||
#include "macros.h"
|
||||
|
||||
-#ifndef NT_GNU_BUILD_ID
|
||||
+#undef NT_GNU_BUILD_ID
|
||||
#define NT_GNU_BUILD_ID 3
|
||||
-#endif
|
||||
|
||||
#ifndef ElfW
|
||||
#define ElfW(type) Elf_##type
|
||||
Index: VirtualBox-7.0.14/src/VBox/Additions/x11/VBoxClient/logging.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Additions/x11/VBoxClient/logging.cpp
|
||||
+++ VirtualBox-7.0.14/src/VBox/Additions/x11/VBoxClient/logging.cpp
|
||||
@@ -328,10 +328,10 @@ static DECLCALLBACK(void) vbClLogHeaderF
|
||||
case RTLOGPHASE_BEGIN:
|
||||
{
|
||||
pfnLog(pLoggerRelease,
|
||||
- "VBoxClient %s r%s (verbosity: %u) %s (%s %s) release log\n"
|
||||
+ "VBoxClient %s r%s (verbosity: %u) %s release log\n"
|
||||
"Log opened %s\n",
|
||||
RTBldCfgVersion(), RTBldCfgRevisionStr(), g_cVerbosity, VBOX_BUILD_TARGET,
|
||||
- __DATE__, __TIME__, szTmp);
|
||||
+ szTmp);
|
||||
|
||||
int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
|
||||
if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
|
67
vbox-python-py310.patch
Normal file
67
vbox-python-py310.patch
Normal file
@ -0,0 +1,67 @@
|
||||
# https://www.virtualbox.org/changeset/90537/vbox
|
||||
|
||||
Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/Makefile.kmk
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/Makefile.kmk
|
||||
+++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/Makefile.kmk
|
||||
@@ -642,11 +642,57 @@ ifndef VBOX_ONLY_SDK
|
||||
VBoxPython3_12_x86_LIBS = $(VBOX_PYTHON312_LIB_X86)
|
||||
endif
|
||||
endif
|
||||
+endif
|
||||
+
|
||||
+ifdef VBOX_PYTHON310_INC
|
||||
+#
|
||||
+# Python 3.10 version
|
||||
+#
|
||||
+DLLS += VBoxPython3_10
|
||||
+VBoxPython3_10_EXTENDS = VBoxPythonBase
|
||||
+VBoxPython3_10_EXTENDS_BY = appending
|
||||
+VBoxPython3_10_TEMPLATE = XPCOM
|
||||
+VBoxPython3_10_INCS = $(VBOX_PYTHON310_INC)
|
||||
+VBoxPython3_10_LIBS = $(VBOX_PYTHON310_LIB)
|
||||
+
|
||||
+ ifdef VBOX_WITH_32_ON_64_MAIN_API
|
||||
+ ifdef VBOX_PYTHON310_LIB_X86
|
||||
+DLLS += VBoxPython3_10_x86
|
||||
+VBoxPython3_10_x86_EXTENDS = VBoxPythonBase_x86
|
||||
+VBoxPython3_10_x86_EXTENDS_BY = appending
|
||||
+VBoxPython3_10_x86_TEMPLATE = XPCOM
|
||||
+VBoxPython3_10_x86_INCS = $(VBOX_PYTHON310_INC)
|
||||
+VBoxPython3_10_x86_LIBS = $(VBOX_PYTHON310_LIB_X86)
|
||||
endif
|
||||
+ endif
|
||||
+endif
|
||||
|
||||
- ifdef VBOX_PYTHONDEF_INC
|
||||
- #
|
||||
- # Python without versioning
|
||||
+ifdef VBOX_PYTHON310M_INC
|
||||
+#
|
||||
+# Python 3.10 version with pymalloc
|
||||
+#
|
||||
+DLLS += VBoxPython3_10m
|
||||
+VBoxPython3_10m_EXTENDS = VBoxPythonBase_m
|
||||
+VBoxPython3_10m_EXTENDS_BY = appending
|
||||
+VBoxPython3_10m_TEMPLATE = XPCOM
|
||||
+VBoxPython3_10m_INCS = $(VBOX_PYTHON310M_INC)
|
||||
+VBoxPython3_10m_LIBS = $(VBOX_PYTHON310M_LIB)
|
||||
+
|
||||
+ ifdef VBOX_WITH_32_ON_64_MAIN_API
|
||||
+ ifdef VBOX_PYTHON310M_LIB_X86
|
||||
+DLLS += VBoxPython3_10m_x86
|
||||
+VBoxPython3_10m_x86_EXTENDS = VBoxPythonBase_x86_m
|
||||
+VBoxPython3_10m_x86_EXTENDS_BY = appending
|
||||
+VBoxPython3_10m_x86_TEMPLATE_ = XPCOM
|
||||
+VBoxPython3_10m_x86_INCS = $(VBOX_PYTHON310M_INC)
|
||||
+VBoxPython3_10m_x86_LIBS = $(VBOX_PYTHON310M_LIB_X86)
|
||||
+ endif
|
||||
+ endif
|
||||
+endif
|
||||
+
|
||||
+ifdef VBOX_PYTHONDEF_INC
|
||||
+#
|
||||
+# Python without versioning
|
||||
#
|
||||
DLLS += VBoxPython
|
||||
VBoxPython_EXTENDS = VBoxPythonBase
|
110
vbox-python-selection.patch
Normal file
110
vbox-python-selection.patch
Normal file
@ -0,0 +1,110 @@
|
||||
Index: VirtualBox-7.0.14/src/bldprogs/scm.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/bldprogs/scm.cpp
|
||||
+++ VirtualBox-7.0.14/src/bldprogs/scm.cpp
|
||||
@@ -2367,7 +2367,7 @@ static int scmProcessFileInner(PSCMRWSTA
|
||||
pszTreatAs = "shell";
|
||||
else if ( (cchFirst >= 15 && strncmp(pchFirst, "/usr/bin/python", 15) == 0)
|
||||
|| (cchFirst >= 19 && strncmp(pchFirst, "/usr/bin/env python", 19) == 0) )
|
||||
- pszTreatAs = "python";
|
||||
+ pszTreatAs = "python3";
|
||||
else if ( (cchFirst >= 13 && strncmp(pchFirst, "/usr/bin/perl", 13) == 0)
|
||||
|| (cchFirst >= 17 && strncmp(pchFirst, "/usr/bin/env perl", 17) == 0) )
|
||||
pszTreatAs = "perl";
|
||||
Index: VirtualBox-7.0.14/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
||||
+++ VirtualBox-7.0.14/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
|
||||
@@ -32,6 +32,9 @@
|
||||
%define VBOXDOCDIR %{_defaultdocdir}/%NAME%
|
||||
%global __requires_exclude_from ^/usr/lib/virtualbox/VBoxPython.*$|^/usr/lib/python.*$|^.*\\.py$
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
+# SUSE defines these in python-rpm-macros, not necessarily available here
|
||||
+%{!?__python3:%{_bindir}/python3}}
|
||||
+%{!?python3_sitelib: %define python_sitelib python3 -c "import sysconfig as s; print(s.get_paths().get('purelib'))"}
|
||||
|
||||
Summary: Oracle VM VirtualBox
|
||||
Name: %NAME%
|
||||
Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
||||
+++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
|
||||
@@ -438,7 +438,9 @@ char *PyTraceback_AsString(PyObject *exc
|
||||
|
||||
{ // a temp scope so I can use temp locals.
|
||||
#if PY_MAJOR_VERSION <= 2
|
||||
- char *tempResult = PyString_AsString(obResult);
|
||||
+ char *tempResult = (char *)PyString_AsString(obResult);
|
||||
+#elif PY_MINOR_VERSION <= 6
|
||||
+ char *tempResult = (char *)PyUnicode_AsUTF8(obResult);
|
||||
#else
|
||||
/* PyUnicode_AsUTF8() is const char * as of Python 3.7, char * earlier. */
|
||||
const char *tempResult = (const char *)PyUnicode_AsUTF8(obResult);
|
||||
Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
||||
+++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyGBase.cpp
|
||||
@@ -183,7 +183,11 @@ PyG_Base::~PyG_Base()
|
||||
// Get the correct interface pointer for this object given the IID.
|
||||
void *PyG_Base::ThisAsIID( const nsIID &iid )
|
||||
{
|
||||
- if (this==NULL) return NULL;
|
||||
+#if PY_MINOR_VERSION <= 6
|
||||
+ if (!this) return NULL;
|
||||
+#else
|
||||
+ if (!this) return NULL;
|
||||
+#endif
|
||||
if (iid.Equals(NS_GET_IID(nsISupports)))
|
||||
return (nsISupports *)(nsIInternalPython *)this;
|
||||
if (iid.Equals(NS_GET_IID(nsISupportsWeakReference)))
|
||||
Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/gen_python_deps.py
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/gen_python_deps.py
|
||||
+++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/gen_python_deps.py
|
||||
@@ -96,7 +96,7 @@ def main(argv):
|
||||
else:
|
||||
multi = 1
|
||||
|
||||
- if multi == 0:
|
||||
+ if not multi:
|
||||
prefixes = ["/usr"]
|
||||
versions = [str(sys.version_info[0])+'.'+str(sys.version_info[1]),
|
||||
str(sys.version_info[0])+'.'+str(sys.version_info[1])+'m']
|
||||
@@ -124,24 +124,25 @@ def main(argv):
|
||||
continue
|
||||
for p in prefixes:
|
||||
c = checkPair(p, v, dllpre, dllsuff, bitness_magic)
|
||||
- if c is not None:
|
||||
+ if c:
|
||||
known[v] = c
|
||||
break
|
||||
- keys = list(known.keys())
|
||||
- # we want default to be the lowest versioned Python
|
||||
- keys.sort()
|
||||
- d = None
|
||||
# We need separator other than newline, to sneak through $(shell)
|
||||
sep = "|"
|
||||
- for k in keys:
|
||||
- if d is None:
|
||||
- d = k
|
||||
- vers = k.replace('.', '').upper()
|
||||
- print_vars(vers, known[k], sep, bitness_magic)
|
||||
- if d is not None:
|
||||
- print_vars("DEF", known[d], sep, bitness_magic)
|
||||
+
|
||||
+ if not known:
|
||||
+ # this type of problem should be detected in configure
|
||||
+ # print_vars("DEF", defaultpaths, sep, bitness_magic)
|
||||
+ pass
|
||||
else:
|
||||
print(argv[0] + ": No Python development package found!", file=sys.stderr)
|
||||
+ if multi:
|
||||
+ for ver, paths in known.items():
|
||||
+ print_vars(ver.replace('.', '').upper(), paths, sep, bitness_magic)
|
||||
+ else:
|
||||
+ ver = versions[0]
|
||||
+ paths = known[ver]
|
||||
+ print_vars(ver.replace('.', ''), paths, sep, bitness_magic)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main(sys.argv)
|
13
vbox-smc-napa.diff
Normal file
13
vbox-smc-napa.diff
Normal file
@ -0,0 +1,13 @@
|
||||
Index: VirtualBox-7.0.14/src/VBox/Devices/PC/vbox.dsl
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Devices/PC/vbox.dsl
|
||||
+++ VirtualBox-7.0.14/src/VBox/Devices/PC/vbox.dsl
|
||||
@@ -1225,7 +1225,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2,
|
||||
Device (SMC)
|
||||
{
|
||||
Name (_HID, EisaId ("APP0001"))
|
||||
- Name (_CID, "smc-napa")
|
||||
+ Name (_CID, "smcnapa")
|
||||
|
||||
Method (_STA, 0, NotSerialized)
|
||||
{
|
27
virtualbox-sed-params.patch
Normal file
27
virtualbox-sed-params.patch
Normal file
@ -0,0 +1,27 @@
|
||||
Index: VirtualBox-7.0.14/src/VBox/Main/Makefile.kmk
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Main/Makefile.kmk
|
||||
+++ VirtualBox-7.0.14/src/VBox/Main/Makefile.kmk
|
||||
@@ -1895,7 +1895,7 @@ $(VBoxAPIWrap_0_OUTDIR)/VBoxAPI.d.ts \
|
||||
$(QUIET)$(VBOX_XSLTPROC) --stringparam KBUILD_HOST $(KBUILD_HOST) \
|
||||
--stringparam generating "dtrace-probes" \
|
||||
-o "$@" $(VBoxAPIWrap_VBOX_XSLT) $(VBOX_XIDL_FILE)
|
||||
- $(QUIET)$(SED) -e '' -o "$@.tmp" \
|
||||
+ $(QUIET)$(SED) -e '' --output "$@.tmp" \
|
||||
"$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-start$(if-expr "$(VBOX_HOST_DTRACE_VERSION)" == "dtrace: Sun D 1.6.2",-alternative,).d" \
|
||||
"$@" \
|
||||
"$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-end$(if-expr "$(VBOX_HOST_DTRACE_VERSION)" == "dtrace: Sun D 1.6.2",-alternative,).d"
|
||||
Index: VirtualBox-7.0.14/src/VBox/Devices/Makefile.kmk
|
||||
===================================================================
|
||||
--- VirtualBox-7.0.14.orig/src/VBox/Devices/Makefile.kmk
|
||||
+++ VirtualBox-7.0.14/src/VBox/Devices/Makefile.kmk
|
||||
@@ -989,8 +989,7 @@ if !defined(VBOX_ONLY_EXTPACKS) && "$(in
|
||||
$(call MSG_TOOL,iasl,VBoxDD,$<,$@)
|
||||
$(QUIET)$(RM) -f $@ $@.tmp $@.pre
|
||||
$(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o $@.pre $<
|
||||
- $(QUIET)$(SED) -e "s/<NL>/\n/g" \
|
||||
- --output $@.pre1 $@.pre
|
||||
+ $(QUIET)$(SED) -e "s/<NL>/\n/g" $@.pre > $@.pre1
|
||||
$(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $@.pre1
|
||||
$(QUIET)$(MV) -f $@ $@.tmp
|
||||
$(QUIET)$(SED) -e "s/AmlCode\|vboxssdt_cpuhotplug_aml_code/AmlCodeSsdtCpuHotPlug/g" \
|
Loading…
Reference in New Issue
Block a user