summaryrefslogtreecommitdiffstats
path: root/debian/patches/103066.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 22:55:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 22:55:52 +0000
commita515bba5570eaaa264b1fb590f91b7b772b83d3f (patch)
tree48e51447595bd944be56da6f464132d219f63c6d /debian/patches/103066.patch
parentMerging upstream version 7.0.16-dfsg. (diff)
downloadvirtualbox-a515bba5570eaaa264b1fb590f91b7b772b83d3f.tar.xz
virtualbox-a515bba5570eaaa264b1fb590f91b7b772b83d3f.zip
Adding debian version 7.0.16-dfsg-1.debian/7.0.16-dfsg-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/103066.patch')
-rw-r--r--debian/patches/103066.patch80
1 files changed, 0 insertions, 80 deletions
diff --git a/debian/patches/103066.patch b/debian/patches/103066.patch
deleted file mode 100644
index 7346d559..00000000
--- a/debian/patches/103066.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-Index: src/VBox/Runtime/common/log/log.cpp
-===================================================================
---- a/src/VBox/Runtime/common/log/log.cpp (revision 103065)
-+++ b/src/VBox/Runtime/common/log/log.cpp (revision 103066)
-@@ -548,7 +548,7 @@
- uint32_t const fFlags = RT_LO_U16(fFlagsAndGroup);
- uint16_t const iGroup = RT_HI_U16(fFlagsAndGroup);
- if ( iGroup != UINT16_MAX
-- && ( (pLoggerInt->afGroups[iGroup < pLoggerInt->cGroups ? iGroup : 0] & (fFlags | RTLOGGRPFLAGS_ENABLED))
-+ && ( (*(pLoggerInt->afGroups + (iGroup < pLoggerInt->cGroups ? iGroup : 0)) & (fFlags | RTLOGGRPFLAGS_ENABLED))
- != (fFlags | RTLOGGRPFLAGS_ENABLED)))
- pLoggerInt = NULL;
- }
-@@ -1555,7 +1555,7 @@
- pLoggerInt->fFlags |= RTLOGFLAGS_DISABLED;
- iGroup = pLoggerInt->cGroups;
- while (iGroup-- > 0)
-- pLoggerInt->afGroups[iGroup] = 0;
-+ *(pLoggerInt->afGroups + iGroup) = 0;
-
- /*
- * Flush it.
-@@ -1788,9 +1788,9 @@
- for (i = 0; i < pLoggerInt->cGroups; i++)
- {
- if (fEnabled)
-- pLoggerInt->afGroups[i] |= fFlags;
-+ *(pLoggerInt->afGroups + i) |= fFlags;
- else
-- pLoggerInt->afGroups[i] &= ~fFlags;
-+ *(pLoggerInt->afGroups + i) &= ~fFlags;
- }
- }
- else
-@@ -4158,7 +4158,7 @@
- || !pszFormat || !*pszFormat)
- return VINF_LOG_DISABLED;
- if ( iGroup != ~0U
-- && (pLoggerInt->afGroups[iGroup] & (fFlags | RTLOGGRPFLAGS_ENABLED)) != (fFlags | RTLOGGRPFLAGS_ENABLED))
-+ && (*(pLoggerInt->afGroups + iGroup) & (fFlags | RTLOGGRPFLAGS_ENABLED)) != (fFlags | RTLOGGRPFLAGS_ENABLED))
- return VINF_LOG_DISABLED;
-
- /*
-Index: src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
-===================================================================
---- a/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c (revision 103065)
-+++ b/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c (revision 103066)
-@@ -425,7 +425,7 @@
- {
- fContiguous = true;
- for (iPage = 0; iPage < cPages; iPage++)
-- pMemLnx->apPages[iPage] = &paPages[iPage];
-+ *(pMemLnx->apPages + iPage) = &paPages[iPage];
- }
- else if (fContiguous)
- {
-@@ -441,11 +441,11 @@
- * IPRT_USE_APPLY_TO_PAGE_RANGE_FOR_EXEC. */
- for (iPage = 0; iPage < cPages; iPage++)
- {
-- pMemLnx->apPages[iPage] = alloc_page(fFlagsLnx | __GFP_NOWARN);
-- if (RT_UNLIKELY(!pMemLnx->apPages[iPage]))
-+ *(pMemLnx->apPages + iPage) = alloc_page(fFlagsLnx | __GFP_NOWARN);
-+ if (RT_UNLIKELY(!*(pMemLnx->apPages + iPage)))
- {
- while (iPage-- > 0)
-- __free_page(pMemLnx->apPages[iPage]);
-+ __free_page(*(pMemLnx->apPages + iPage));
- rtR0MemObjDelete(&pMemLnx->Core);
- return rcNoMem;
- }
-@@ -622,7 +622,7 @@
- {
- size_t iPage = pMemLnx->cPages;
- while (iPage-- > 0)
-- if (PageHighMem(pMemLnx->apPages[iPage]))
-+ if (PageHighMem(*(pMemLnx->apPages + iPage)))
- {
- fMustMap = true;
- break;