summaryrefslogtreecommitdiff
path: root/media-sound
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mumble/files/crosscompiling.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-sound/mumble/files/crosscompiling.patch b/media-sound/mumble/files/crosscompiling.patch
new file mode 100644
index 0000000..c666f0b
--- /dev/null
+++ b/media-sound/mumble/files/crosscompiling.patch
@@ -0,0 +1,22 @@
+diff --git a/src/mumble/main.cpp b/src/mumble/main.cpp
+index 7062ede6..3becca72 100644
+--- a/src/mumble/main.cpp
++++ b/src/mumble/main.cpp
+@@ -662,7 +662,7 @@ int main(int argc, char **argv) {
+ }
+
+ #if defined(Q_OS_WIN) && defined(QT_NO_DEBUG)
+-extern void qWinMain(HINSTANCE, HINSTANCE, LPSTR, int, int &, QVector<char *> &);
++//extern void qWinMain(HINSTANCE, HINSTANCE, LPSTR, int, int &, QVector<char *> &);
+
+ extern "C" __declspec(dllexport) int MumbleMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR cmdArg, int cmdShow) {
+ Q_UNUSED(cmdArg);
+@@ -672,7 +672,7 @@ extern "C" __declspec(dllexport) int MumbleMain(HINSTANCE instance, HINSTANCE pr
+
+ // qWinMain takes argv as a reference.
+ QVector<char *> argv;
+- qWinMain(instance, prevInstance, cmdParam.data(), cmdShow, argc, argv);
++// qWinMain(instance, prevInstance, cmdParam.data(), cmdShow, argc, argv);
+
+ int result = main(argc, argv.data());
+ return result;