commit 5efdffe3703e1f85dbbb2f82f3b6a0862c85e981
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Jan 15 11:47:04 2021 +0000
Update smplayer to 21.1.0
mongoose_gcc11.patch | 11 +++++++++++
smplayer.spec | 9 +++++++--
update_smplayer.sh | 4 ++--
3 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/mongoose_gcc11.patch b/mongoose_gcc11.patch
new file mode 100644
index 0000000..1bbb0fe
--- /dev/null
+++ b/mongoose_gcc11.patch
@@ -0,0 +1,11 @@
+--- ./webserver/mongoose.h.orig 2021-01-15 11:36:30.903697386 +0000
++++ ./webserver/mongoose.h 2021-01-15 11:37:02.127899177 +0000
+@@ -1762,7 +1762,7 @@ typedef struct {
+
+ void cs_md5_init(cs_md5_ctx *c);
+ void cs_md5_update(cs_md5_ctx *c, const unsigned char *data, size_t len);
+-void cs_md5_final(unsigned char *md, cs_md5_ctx *c);
++void cs_md5_final(unsigned char md[16], cs_md5_ctx *c);
+
+ #ifdef __cplusplus
+ }
diff --git a/smplayer.spec b/smplayer.spec
index 1726570..8898c00 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -1,8 +1,8 @@
Name: smplayer
-Version: 20.6.0
+Version: 21.1.0
%global smplayer_themes_ver 20.11.0
%global smplayer_skins_ver 20.11.0
-Release: 4%{?dist}
+Release: 1%{?dist}
Summary: A graphical frontend for mplayer and mpv
License: GPLv2+
@@ -15,6 +15,7 @@ Source4:
https://downloads.sourceforge.net/smplayer/smplayer-skins-%{smpl
#
https://bugzilla.rpmfusion.org/show_bug.cgi?id=1217
Patch0: smplayer-0.8.3-desktop-files.patch
Patch2: smplayer-14.9.0.6966-system-qtsingleapplication.patch
+Patch3: mongoose_gcc11.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
@@ -81,6 +82,7 @@ rm -rf src/qtsingleapplication/
%patch0 -p1 -b .desktop-files
%patch2 -p1 -b .qtsingleapplication
+%patch3 -p1 -b .mongoose_gcc11
# correction for wrong-file-end-of-line-encoding
%{__sed} -i 's/\r//' *.txt
@@ -174,6 +176,9 @@ fi
%{_datadir}/smplayer/themes/
%changelog
+* Thu Jan 07 2021 Sérgio Basto <sergio(a)serjux.com> - 21.1.0-1
+- Update smplayer to 21.1.0
+
* Sat Dec 05 2020 Sérgio Basto <sergio(a)serjux.com> - 20.6.0-4
- Update skins and themes
diff --git a/update_smplayer.sh b/update_smplayer.sh
index 993302b..8f5f5d7 100755
--- a/update_smplayer.sh
+++ b/update_smplayer.sh
@@ -1,8 +1,8 @@
-version=20.6.0
+version=21.1.0
#stube_ver=19.6.0
themes_ver=20.11.0
skins_ver=20.11.0
-REPOS="f32 f31 el8 el7"
+REPOS="f33 f32 el8 el7"
if [ -z "$1" ]
then