From 929ca5c163360ca847048eee4e73d8df1b4b8267 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Tue, 30 Aug 2016 19:26:28 +0200 Subject: [PATCH] virtualbox5: apply nic slot label patch Fixes #2081 --- repos/ports/ports/virtualbox5.hash | 2 +- repos/ports/src/virtualbox5/patches/vbox_main.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/repos/ports/ports/virtualbox5.hash b/repos/ports/ports/virtualbox5.hash index 8cf9b42721..73d2d47dcc 100644 --- a/repos/ports/ports/virtualbox5.hash +++ b/repos/ports/ports/virtualbox5.hash @@ -1 +1 @@ -14b453967da93f0915e476d45b80a8a400c37eb4 +a7e90970777f19ba4f1112e927b2c97882dcd8d4 diff --git a/repos/ports/src/virtualbox5/patches/vbox_main.patch b/repos/ports/src/virtualbox5/patches/vbox_main.patch index d9a545bf37..df746159c5 100644 --- a/repos/ports/src/virtualbox5/patches/vbox_main.patch +++ b/repos/ports/src/virtualbox5/patches/vbox_main.patch @@ -995,6 +995,16 @@ index a717aff..3d52b9f 100644 HRESULT hrc; Bstr bstr; PCFGMNODE pLunL1 = NULL; +@@ -5440,6 +5450,9 @@ + + #undef H + ++ /* store the slot index for session labeling */ ++ InsertConfigInteger(pCfg, "Slot", uInstance); ++ + return VINF_SUCCESS; + } + --- a/src/app/virtualbox/src/VBox/Main/src-client/DisplayImpl.cpp +++ b/src/app/virtualbox/src/VBox/Main/src-client/DisplayImpl.cpp @@ -956,7 +956,9 @@