From e9156e426a035f5cbce3411b79d4f8e5e94aa3b8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 21 Mar 2019 08:36:36 +0100 Subject: extra/mplayer: added patch for missing time.h in samba streaming --- extra/mplayer/PKGBUILD | 7 +++++-- extra/mplayer/mplayer-samba4-time-include.patch | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 extra/mplayer/mplayer-samba4-time-include.patch diff --git a/extra/mplayer/PKGBUILD b/extra/mplayer/PKGBUILD index a4c9f007..911730a2 100644 --- a/extra/mplayer/PKGBUILD +++ b/extra/mplayer/PKGBUILD @@ -1,9 +1,12 @@ -source+=(mplayer-38101-sigcontext.patch) -sha512sums+=('2f93d29f1d817a64104cad7153988583443932e6bb6d147747a1af5c7a76d24da0f3305466d43e803012dd31d89cb17e8c7cb7b19d2896165fa74cc06da346e0') +source+=(mplayer-38101-sigcontext.patch + mplayer-samba4-time-include.patch) +sha512sums+=('2f93d29f1d817a64104cad7153988583443932e6bb6d147747a1af5c7a76d24da0f3305466d43e803012dd31d89cb17e8c7cb7b19d2896165fa74cc06da346e0' + 'fba6dbd637897b0f7e239378914f1382e61eefa503c2f3bb912d5a1fe2e125c7554af7c979fed137b08c122f10d92373635691e773831b46dca45d968d394241') eval "$( declare -f prepare | \ sed ' + /include-samba-4.0.patch/a patch -Np1 -i ../mplayer-samba4-time-include.patch /revert-icl-fixes.patch/a patch -Np1 -i ../mplayer-38101-sigcontext.patch ' )" diff --git a/extra/mplayer/mplayer-samba4-time-include.patch b/extra/mplayer/mplayer-samba4-time-include.patch new file mode 100644 index 00000000..79989304 --- /dev/null +++ b/extra/mplayer/mplayer-samba4-time-include.patch @@ -0,0 +1,11 @@ +diff -rauN mplayer-38101/stream/stream_smb.c mplayer-samba4-time-include-patch/stream/stream_smb.c +--- mplayer-38101/stream/stream_smb.c 2019-03-21 08:28:16.708465910 +0100 ++++ mplayer-samba4-time-include-patch/stream/stream_smb.c 2019-03-21 08:29:13.545760007 +0100 +@@ -18,6 +18,7 @@ + + #include "config.h" + ++#include + #include + #include + -- cgit v1.2.3-70-g09d2