diff options
author | Viorel Munteanu <ceamac.paragon@gmail.com> | 2022-07-26 22:26:38 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-27 22:05:30 +0100 |
commit | a1e87e52e23ba70995fc257bdeb155ef3ec728f8 (patch) | |
tree | e6a403c68a991bdc6311cbb89f5422150feee44e /app-emulation/virtualbox/files/virtualbox-6.1.36-python3.10.patch | |
parent | sys-apps/uutils: Version bump (diff) | |
download | gentoo-a1e87e52e23ba70995fc257bdeb155ef3ec728f8.tar.gz gentoo-a1e87e52e23ba70995fc257bdeb155ef3ec728f8.tar.bz2 gentoo-a1e87e52e23ba70995fc257bdeb155ef3ec728f8.zip |
app-emulation/virtualbox: add 6.1.36
Closes: https://bugs.gentoo.org/856769
Closes: https://bugs.gentoo.org/860897
Bug: https://bugs.gentoo.org/859391
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation/virtualbox/files/virtualbox-6.1.36-python3.10.patch')
-rw-r--r-- | app-emulation/virtualbox/files/virtualbox-6.1.36-python3.10.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-emulation/virtualbox/files/virtualbox-6.1.36-python3.10.patch b/app-emulation/virtualbox/files/virtualbox-6.1.36-python3.10.patch new file mode 100644 index 000000000000..90157ada7d96 --- /dev/null +++ b/app-emulation/virtualbox/files/virtualbox-6.1.36-python3.10.patch @@ -0,0 +1,16 @@ +https://github.com/archlinux/svntogit-community/blob/b103146beee8b7c70d04685033a8536aed2e5aea/trunk/002-python310.patch +https://github.com/archlinux/svntogit-community/blob/b103146beee8b7c70d04685033a8536aed2e5aea/trunk/003-pyunicode.patch + +https://www.virtualbox.org/changeset/90537/vbox +https://www.virtualbox.org/changeset/86623/vbox +--- a/src/libs/xpcom18a4/python/src/PyXPCOM.h ++++ b/src/libs/xpcom18a4/python/src/PyXPCOM.h +@@ -137,7 +137,7 @@ + # define PyInt_Check(o) PyLong_Check(o) + # define PyInt_AsLong(o) PyLong_AsLong(o) + # define PyNumber_Int(o) PyNumber_Long(o) +-# if PY_VERSION_HEX <= 0x03030000 /* 3.3 added PyUnicode_AsUTF8AndSize */ ++# if !defined(Py_LIMITED_API) && PY_VERSION_HEX <= 0x03030000 /* 3.3 added PyUnicode_AsUTF8AndSize */ + # ifndef PyUnicode_AsUTF8 + # define PyUnicode_AsUTF8(o) _PyUnicode_AsString(o) + # endif |