Skip to content

Instantly share code, notes, and snippets.

@krisk0
Created June 24, 2016 16:51
Show Gist options
  • Select an option

  • Save krisk0/680ea1c92b255b7958641e5769e25435 to your computer and use it in GitHub Desktop.

Select an option

Save krisk0/680ea1c92b255b7958641e5769e25435 to your computer and use it in GitHub Desktop.
patch for VirtualBox ebuild
--- /usr/portage/app-emulation/virtualbox/virtualbox-5.0.16.ebuild 2016-06-24 19:47:07.000000000 +0300
+++ ./virtualbox-5.0.16.ebuild 2016-06-24 15:10:57.000000000 +0300
@@ -1,6 +1,8 @@
# Copyright 1999-2016 Gentoo Foundation
+# Copyright 2016 Денис Крыськов
# Distributed under the terms of the GNU General Public License v2
-# $Id$
+
+# Hacked by Денис Крыськов to never check for system directory permissions
EAPI=6
@@ -176,6 +178,9 @@
eapply "${WORKDIR}/patches"
eapply_user
+
+ sed -i src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp -e \
+ 's:if (fBad):if (0):' || die
}
src_configure() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment