summaryrefslogtreecommitdiff
path: root/user/phonon/qt59.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-09-30 21:08:56 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-09-30 21:08:56 +0000
commitb469c313e0fbd8cb927c7854fa2b705eb0ff0451 (patch)
treed42b89a3caf0a8069591c8d08e1a76134c7c0b11 /user/phonon/qt59.patch
parent9abe2ffdac9b99ec76395218502b6962e913710d (diff)
downloadpackages-b469c313e0fbd8cb927c7854fa2b705eb0ff0451.tar.gz
packages-b469c313e0fbd8cb927c7854fa2b705eb0ff0451.tar.bz2
packages-b469c313e0fbd8cb927c7854fa2b705eb0ff0451.tar.xz
packages-b469c313e0fbd8cb927c7854fa2b705eb0ff0451.zip
user/phonon: bump to 4.11.1
Diffstat (limited to 'user/phonon/qt59.patch')
-rw-r--r--user/phonon/qt59.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/phonon/qt59.patch b/user/phonon/qt59.patch
new file mode 100644
index 000000000..0ee5d017f
--- /dev/null
+++ b/user/phonon/qt59.patch
@@ -0,0 +1,15 @@
+--- phonon-4.11.1/phonon/factory.cpp.old 2019-09-26 10:29:38.000000000 +0000
++++ phonon-4.11.1/phonon/factory.cpp 2019-09-30 21:07:16.417472319 +0000
+@@ -474,7 +474,11 @@
+ }
+
+ // Apply PHONON_BACKEND override if set.
+- const QString backendEnv = qEnvironmentVariable("PHONON_BACKEND");
++ const QByteArray backendVal = qgetenv("PHONON_BACKEND");
++ if (backendVal.isNull()) {
++ return backendList;
++ }
++ const QString backendEnv = QString::fromLocal8Bit(backendVal);
+ if (backendEnv.isEmpty()) {
+ return backendList;
+ }