diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 38a4486..046b4df 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -16,8 +16,13 @@ optdepends=('muparser: Calculator plugin' source=("mirrors/albert::git+https://github.com/albertlauncher/albert.git#tag=v${pkgver}" "mirrors/plugins::git+https://github.com/albertlauncher/plugins.git" "mirrors/python::git+https://github.com/albertlauncher/python.git" - "mirrors/pybind11::git+https://github.com/pybind/pybind11.git") -md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP') + "mirrors/pybind11::git+https://github.com/pybind/pybind11.git" + test.patch) +md5sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + '20ec3da3ccd38431be42a23eff4d861b') prepare() { @@ -33,6 +38,8 @@ prepare() { git config submodule.python/pybind11.url "$srcdir"/pybind11 git config submodule.python/share/modules.url "$srcdir"/python git submodule update python/pybind11 python/share/modules + + patch -p1 -i "$srcdir"/test.patch } diff --git a/trunk/test.patch b/trunk/test.patch new file mode 100644 index 0000000..c2bf040 --- /dev/null +++ b/trunk/test.patch @@ -0,0 +1,13 @@ +diff --git a/virtualbox/src/extension.cpp b/virtualbox/src/extension.cpp +index 582e886..a42bcfa 100644 +--- a/virtualbox/src/extension.cpp ++++ b/virtualbox/src/extension.cpp +@@ -157,7 +157,7 @@ void VirtualBox::Extension::handleQuery(Core::Query * query) const { + nsCOMPtr session; + if (NS_SUCCEEDED(rc = d->manager->CreateInstanceByContractID(NS_SESSION_CONTRACTID, nullptr, NS_GET_IID(ISession), getter_AddRefs(session)))) { + nsCOMPtr progress; +- if (NS_FAILED(rc = vm->LaunchVMProcess(session, QString("gui").utf16(), QString("").utf16(), getter_AddRefs(progress)))) ++ if (NS_FAILED(rc = vm->LaunchVMProcess(session, QString("gui").utf16(), 0, nullptr, getter_AddRefs(progress)))) + CRITICAL << "Error, could not start virtual machine:" << rc; + // << NS_ERROR_UNEXPECTED <<"Virtual machine not registered." + // << NS_ERROR_INVALID_ARG <<"Invalid session type."