commit 5116d2575b01aecca5054555d654590173bfc6ca
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun May 19 06:22:40 2019 +0100
Update smplayer to 19.5.0
smplayer-19.5.0-webserver.patch | 15 +++++++++++++++
smplayer.spec | 2 ++
2 files changed, 17 insertions(+)
---
diff --git a/smplayer-19.5.0-webserver.patch b/smplayer-19.5.0-webserver.patch
new file mode 100644
index 0000000..f667906
--- /dev/null
+++ b/smplayer-19.5.0-webserver.patch
@@ -0,0 +1,15 @@
+diff -rup ./webserver.orig/mongoose.c ./webserver/mongoose.c
+--- ./webserver.orig/mongoose.c 2018-05-27 17:59:44.000000000 +0100
++++ ./webserver/mongoose.c 2019-05-19 06:02:13.744763458 +0100
+@@ -7821,9 +7821,9 @@ MG_INTERNAL int mg_uri_to_local_path(str
+ }
+
+ out:
+- LOG(LL_DEBUG,
++/* LOG(LL_DEBUG,
+ ("'%.*s' -> '%s' + '%.*s'", (int)
hm->uri.len, hm->uri.p,
+- *local_path ? *local_path : "", (int) remainder->len,
remainder->p));
++ *local_path ? *local_path : "", (int) remainder->len,
remainder->p)); */
+ return ok;
+ }
+
diff --git a/smplayer.spec b/smplayer.spec
index 122841f..4885ade 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -17,6 +17,7 @@ Source4:
http://downloads.sourceforge.net/smplayer/smplayer-skins-%{smpla
Patch0: smplayer-0.8.3-desktop-files.patch
Patch2: smplayer-14.9.0.6966-system-qtsingleapplication.patch
Patch3: smtube-18.11.0-system-qtsingleapplication.patch
+Patch4: smplayer-19.5.0-webserver.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
@@ -101,6 +102,7 @@ pushd smtube-%{smtube_ver}
# correction for wrong-file-end-of-line-encoding on smtube
%{__sed} -i 's/\r//' *.txt
popd
+%patch4 -p1 -b .webserver
# correction for wrong-file-end-of-line-encoding
%{__sed} -i 's/\r//' *.txt