forked from pool/virtualbox
366ee26cec
boo #1005621. - Add patch file "vbox_remove_smp_mflags.patch" to limit number of simultaneous make jobs. - Version bump to 5.1.8 (released 2016-10-18 by Oracle) This is a maintenance release. The following items were fixed and/or added: GUI: fixed keyboard shortcut handling regressions (Mac OS X hosts only; bugs #15937 and #15938) GUI: fixed keyboard handling regression for separate UI (Windows hosts only; bugs #15928) NAT: don't exceed the maximum number of "search" suffixes. Patch from bug #15948. NAT: fixed parsing of port-forwarding rules with a name which contains a slash (bug #16002) NAT Network: when the host has only loopback nameserver that cannot be mapped to the guests (e.g. dnsmasq running on 127.0.1.1), make DHCP supply NAT Network DNS proxy as nameserver. Bridged Network: prevent flooding syslog with packet allocation error messages (bug #15569) Audio: now using Audio Queues on Mac OS X hosts Audio: fixed recording with the PulseAudio backend (5.1 regression) Audio: various bugfixes Snapshots: fixed regression in 5.1.4 for deleting snapshots with several disks (bug #15831) Snapshots: crash fix and better error reporting when snapshot deletion failed Storage: some fixes for the NVMe emulation with Windows guests API: fixed initialization of SAS controllers (bug #15972) Build system: make it possible to build VBox on systems which default to Python 3 Windows Additions / VGA: if the guest's power management turns a virtual screen off, blank the corresponding VM window rather than hide the window Windows Additions: fixed a generic bug which could lead to freezing shared folders (bug #15662) Linux hosts / guests: fix for kernels with CONFIG_CPUMASK_OFFSTACK set (bug #16020) Linux Additions: don't require all virtual consoles be in text mode. This should fix cases when the guest is booted with a graphical boot screen (bug #15683) Linux Additions: added depmod overrides for the vboxguest and vboxsf kernel modules to fix conflicts with modules shipped by certain Linux distributions X11 Additions: disable 3D on the guest if the host does not provide enough capabilities (bug #15860) OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=281
52 lines
1.8 KiB
Diff
52 lines
1.8 KiB
Diff
Index: VirtualBox-5.1.8/src/libs/xpcom18a4/python/gen_python_deps.py
|
|
===================================================================
|
|
--- VirtualBox-5.1.8.orig/src/libs/xpcom18a4/python/gen_python_deps.py
|
|
+++ VirtualBox-5.1.8/src/libs/xpcom18a4/python/gen_python_deps.py
|
|
@@ -86,7 +86,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']
|
|
@@ -114,24 +114,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)
|