aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-src-VBox-Main-src-server-MachineImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose/files/patch-src-VBox-Main-src-server-MachineImpl.cpp')
-rw-r--r--emulators/virtualbox-ose/files/patch-src-VBox-Main-src-server-MachineImpl.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-src-VBox-Main-src-server-MachineImpl.cpp b/emulators/virtualbox-ose/files/patch-src-VBox-Main-src-server-MachineImpl.cpp
new file mode 100644
index 000000000000..fce7b85eefa3
--- /dev/null
+++ b/emulators/virtualbox-ose/files/patch-src-VBox-Main-src-server-MachineImpl.cpp
@@ -0,0 +1,13 @@
+- Remove debugging fprintf in MachineImpl.cpp to fix build with GCC 4.6
+
+Submitted by: Andriy Gapon <avg at FreeBSD.org>
+--- src/VBox/Main/src-server/MachineImpl.cpp.orig 2012-04-03 14:12:01.000000000 +0200
++++ src/VBox/Main/src-server/MachineImpl.cpp 2012-04-13 10:49:25.000000000 +0200
+@@ -6643,7 +6643,6 @@
+
+ Utf8Str idStr = mData->mUuid.toString();
+ const char * args[] = {szPath, "--comment", mUserData->s.strName.c_str(), "--startvm", idStr.c_str(), 0 };
+- fprintf(stderr, "SDL=%s\n", szPath);
+ vrc = RTProcCreate(szPath, args, env, 0, &pid);
+ }
+ #else /* !VBOX_WITH_VBOXSDL */