prevent dmesg call
This commit is contained in:
parent
e644f35cce
commit
f8c84554b5
2 changed files with 13 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [ ./patches/ipb-profile-key.patch ./patches/tap-name-no-prefix.patch ];
|
||||
patches = [ ./patches/ipb-profile-key.patch ./patches/tap-name-no-prefix.patch ./patches/prevent-dmesg-call.patch ];
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
cmake
|
||||
|
|
|
|||
12
patches/prevent-dmesg-call.patch
Normal file
12
patches/prevent-dmesg-call.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/src/Mayaqua/Unix.c b/src/Mayaqua/Unix.c
|
||||
index 0c3778d..657dea4 100644
|
||||
--- a/src/Mayaqua/Unix.c
|
||||
+++ b/src/Mayaqua/Unix.c
|
||||
@@ -345,6 +345,7 @@ bool UnixIsInVmMain()
|
||||
|
||||
bool UnixIsInVm()
|
||||
{
|
||||
+ return false;
|
||||
static bool is_in_vm_flag = false;
|
||||
static bool is_in_vm_ret = false;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue