[Pkg-virtualbox-commits] [virtualbox] 05/08: new upstream release, patch refresh

Ritesh Raj Sarraf rrs at moszumanska.debian.org
Fri May 15 10:25:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

rrs pushed a commit to branch master
in repository virtualbox.

commit b0926f6dc58a937549875d507577765ac6cd6dbd
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Thu May 14 10:12:53 2015 +0200

    new upstream release, patch refresh
---
 debian/changelog                                |   8 ++
 debian/patches/27-hide-host-cache-warning.patch |   2 +-
 debian/patches/29-fix-ftbfs-as-needed.patch     |   2 +-
 debian/patches/36-fix-vnc-version-string.patch  |   2 +-
 debian/patches/37-diff_smap_4.patch             | 108 ------------------------
 debian/patches/series                           |   1 -
 6 files changed, 11 insertions(+), 112 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 638b8fe..abf2c1c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+virtualbox (4.3.28-dfsg-1) unstable; urgency=medium
+
+  * New upstream release.
+    - patch refresh.
+    - remove d/p/37-diff_smap_4.patch.
+
+ -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it>  Thu, 14 May 2015 09:36:52 +0200
+
 virtualbox (4.3.26-dfsg-3) unstable; urgency=medium
 
   [ Adam Conrad ]
diff --git a/debian/patches/27-hide-host-cache-warning.patch b/debian/patches/27-hide-host-cache-warning.patch
index 747a43e..c247625 100644
--- a/debian/patches/27-hide-host-cache-warning.patch
+++ b/debian/patches/27-hide-host-cache-warning.patch
@@ -6,7 +6,7 @@ Index: virtualbox/src/VBox/Main/src-client/ConsoleImpl2.cpp
 ===================================================================
 --- virtualbox.orig/src/VBox/Main/src-client/ConsoleImpl2.cpp	2013-12-03 07:11:18.165655881 -0500
 +++ virtualbox/src/VBox/Main/src-client/ConsoleImpl2.cpp	2013-12-03 07:12:44.373659885 -0500
-@@ -3686,34 +3686,12 @@
+@@ -3616,34 +3616,12 @@
                      if (   enmFsTypeFile == RTFSTYPE_EXT4
                          || enmFsTypeFile == RTFSTYPE_XFS)
                      {
diff --git a/debian/patches/29-fix-ftbfs-as-needed.patch b/debian/patches/29-fix-ftbfs-as-needed.patch
index ba48ab3..2d49681 100644
--- a/debian/patches/29-fix-ftbfs-as-needed.patch
+++ b/debian/patches/29-fix-ftbfs-as-needed.patch
@@ -5,7 +5,7 @@ Index: virtualbox/Config.kmk
 ===================================================================
 --- virtualbox.orig/Config.kmk	2013-11-19 04:39:48.053639615 -0500
 +++ virtualbox/Config.kmk	2013-11-19 04:39:48.049639615 -0500
-@@ -5039,7 +5039,7 @@
+@@ -5043,7 +5043,7 @@
  TEMPLATE_VBoxBldProg_LDFLAGS.amd64       = -m64
  TEMPLATE_VBoxBldProg_LDFLAGS.sparc64     = -m64
   ifeq ($(KBUILD_HOST),linux)
diff --git a/debian/patches/36-fix-vnc-version-string.patch b/debian/patches/36-fix-vnc-version-string.patch
index 9060c6d..7e549d1 100644
--- a/debian/patches/36-fix-vnc-version-string.patch
+++ b/debian/patches/36-fix-vnc-version-string.patch
@@ -2,7 +2,7 @@ Index: virtualbox/Config.kmk
 ===================================================================
 --- virtualbox.orig/Config.kmk	2013-11-19 04:41:16.173643708 -0500
 +++ virtualbox/Config.kmk	2013-11-19 04:41:16.169643708 -0500
-@@ -2501,6 +2501,7 @@
+@@ -2499,6 +2499,7 @@
  	-e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
  	-e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
  	-e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
diff --git a/debian/patches/37-diff_smap_4.patch b/debian/patches/37-diff_smap_4.patch
deleted file mode 100644
index cd964d1..0000000
--- a/debian/patches/37-diff_smap_4.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-diff -u '--exclude=.svn' '--exclude=CVS' '--exclude=.*.d' '--exclude=.depend' '--exclude=.hdepend' '--exclude=.*.flags' -r e/vboxdrv/linux/SUPDrv-linux.c f/vboxdrv/linux/SUPDrv-linux.c
---- a/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c	2015-03-20 15:24:13.000000000 +0100
-+++ b/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c	2015-03-20 15:23:51.000000000 +0100
-@@ -48,12 +48,6 @@
- # include <iprt/power.h>
- # define VBOX_WITH_SUSPEND_NOTIFICATION
- #endif
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0)
--# include <asm/smap.h>
--#else
--static inline void clac(void) { }
--static inline void stac(void) { }
--#endif
- 
- #include <linux/sched.h>
- #ifdef CONFIG_DEVFS_FS
-diff -u '--exclude=.svn' '--exclude=CVS' '--exclude=.*.d' '--exclude=.depend' '--exclude=.hdepend' '--exclude=.*.flags' -r e/vboxdrv/r0drv/linux/the-linux-kernel.h f/vboxdrv/r0drv/linux/the-linux-kernel.h
---- a/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h	2015-03-20 15:24:13.000000000 +0100
-+++ b/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h	2015-03-20 15:23:52.000000000 +0100
-@@ -145,6 +145,13 @@
- # include <asm/tlbflush.h>
- #endif
- 
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0)
-+# include <asm/smap.h>
-+#else
-+static inline void clac(void) { }
-+static inline void stac(void) { }
-+#endif
-+
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
- # ifndef page_to_pfn
- #  define page_to_pfn(page) ((page) - mem_map)
-diff -u '--exclude=.svn' '--exclude=CVS' '--exclude=.*.d' '--exclude=.depend' '--exclude=.hdepend' '--exclude=.*.flags' -r e/vboxdrv/r0drv/linux/threadctxhooks-r0drv-linux.c f/vboxdrv/r0drv/linux/threadctxhooks-r0drv-linux.c
---- a/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c	2015-03-20 15:24:13.000000000 +0100
-+++ b/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c	2015-03-20 15:23:52.000000000 +0100
-@@ -36,6 +36,9 @@
- #include <iprt/thread.h>
- #include <iprt/err.h>
- #include <iprt/asm.h>
-+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
-+# include <iprt/asm-amd64-x86.h>
-+#endif
- #include "internal/thread.h"
- 
- /*
-@@ -68,6 +71,11 @@
-     struct preempt_ops          hPreemptOps;
-     /** The reference count for this object. */
-     uint32_t volatile           cRefs;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 19) && defined(RT_ARCH_AMD64)
-+    /** Starting with 3.1.19, the linux kernel doesn't restore kernel RFLAGS during
-+     * task switch, so we have to do that ourselves. (x86 code is not affected.) */
-+    RTCCUINTREG                 fSavedRFlags;
-+#endif
- } RTTHREADCTXINT, *PRTTHREADCTXINT;
- 
- 
-@@ -84,12 +92,24 @@
- static void rtThreadCtxHooksLnxSchedOut(struct preempt_notifier *pPreemptNotifier, struct task_struct *pNext)
- {
-     PRTTHREADCTXINT pThis = RT_FROM_MEMBER(pPreemptNotifier, RTTHREADCTXINT, hPreemptNotifier);
-+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
-+    RTCCUINTREG fSavedEFlags = ASMGetFlags();
-+    stac();
-+#endif
-+
-     AssertPtr(pThis);
-     AssertPtr(pThis->pfnThreadCtxHook);
-     Assert(pThis->fRegistered);
-     Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
- 
-     pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_PREEMPTING, pThis->pvUser);
-+
-+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
-+    ASMSetFlags(fSavedEFlags);
-+# if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 19) && defined(RT_ARCH_AMD64)
-+    pThis->fSavedRFlags = fSavedEFlags;
-+# endif
-+#endif
- }
- 
- 
-@@ -105,11 +125,24 @@
- static void rtThreadCtxHooksLnxSchedIn(struct preempt_notifier *pPreemptNotifier, int iCpu)
- {
-     PRTTHREADCTXINT pThis = RT_FROM_MEMBER(pPreemptNotifier, RTTHREADCTXINT, hPreemptNotifier);
-+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
-+    RTCCUINTREG fSavedEFlags = ASMGetFlags();
-+    stac();
-+#endif
-+
-     AssertPtr(pThis);
-     AssertPtr(pThis->pfnThreadCtxHook);
-     Assert(pThis->fRegistered);
- 
-     pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_RESUMED, pThis->pvUser);
-+
-+#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
-+# if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 19) && defined(RT_ARCH_AMD64)
-+    fSavedEFlags &= ~RT_BIT_64(18) /*X86_EFL_AC*/;
-+    fSavedEFlags |= pThis->fSavedRFlags & RT_BIT_64(18) /*X86_EFL_AC*/;
-+# endif
-+    ASMSetFlags(fSavedEFlags);
-+#endif
- }
- 
- 
diff --git a/debian/patches/series b/debian/patches/series
index a06f623..5b32c83 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,4 +14,3 @@
 32-disable-guest-version-check.patch
 35-libvdeplug-soname.patch
 36-fix-vnc-version-string.patch
-37-diff_smap_4.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox.git



More information about the Pkg-virtualbox-commits mailing list