[Pkg-virtualbox-commits] [virtualbox] 01/01: Fix Python3 binding

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Wed Jul 19 09:36:25 UTC 2017


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

locutusofborg pushed a commit to branch master
in repository virtualbox.

commit 4039bb0443695d61a815f6b3f0d82c3e9bbaebac
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Wed Jul 19 11:34:44 2017 +0200

    Fix Python3 binding
---
 debian/changelog                  | 11 +++++++++++
 debian/patches/series             |  1 +
 debian/patches/vboxxpcom.py.patch | 13 +++++++++++++
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e4a76c3..3407cb6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+virtualbox (5.1.24-dfsg-2) unstable; urgency=medium
+
+  [ Andreas Heinlein ]
+  * debian/patches/vboxxpcom.py.patch:
+    - Fix python3 binding (Upstream ticket:
+      https://www.virtualbox.org/ticket/16899
+      Closes: #868853
+      Thanks Andreas Heinlein for the report and fix!
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Wed, 19 Jul 2017 11:31:27 +0200
+
 virtualbox (5.1.24-dfsg-1) unstable; urgency=medium
 
   * New upstream version 5.1.24, patch refresh
diff --git a/debian/patches/series b/debian/patches/series
index f62325e..103e578 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -16,3 +16,4 @@
 36-fix-vnc-version-string.patch
 new-xorg-1.19.patch
 37-python-3.6-support.patch
+vboxxpcom.py.patch
diff --git a/debian/patches/vboxxpcom.py.patch b/debian/patches/vboxxpcom.py.patch
new file mode 100644
index 0000000..4dac704
--- /dev/null
+++ b/debian/patches/vboxxpcom.py.patch
@@ -0,0 +1,13 @@
+Index: virtualbox/src/libs/xpcom18a4/python/vboxxpcom.py
+===================================================================
+--- virtualbox.orig/src/libs/xpcom18a4/python/vboxxpcom.py
++++ virtualbox/src/libs/xpcom18a4/python/vboxxpcom.py
+@@ -39,7 +39,7 @@
+ if sys.hexversion >= 0x030200f0 and sys.abiflags:
+     _asNew = []
+     for sCandidate in _asVBoxPythons:
+-        if isdigit(sCandidate[-1:]):
++        if sCandidate[-1:].isdigit():
+             _asNew.append(sCandidate + sys.abiflags)
+         else:
+             _asNew.append(sCandidate)

-- 
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