[SCM] mpv/master: Add _IO_stdin_used to mpv version script

jcowgill at users.alioth.debian.org jcowgill at users.alioth.debian.org
Thu Jul 20 16:05:57 UTC 2017


The following commit has been merged in the master branch:
commit 682a5522879885471bf1f41ed47896f1d737913a
Author: James Cowgill <jcowgill at debian.org>
Date:   Thu Jul 20 13:54:02 2017 +0100

    Add _IO_stdin_used to mpv version script
    
    Fixes FTBFS on mips* and ports architectures.

diff --git a/debian/patches/07_io-stdin-used.patch b/debian/patches/07_io-stdin-used.patch
new file mode 100644
index 0000000..ad82216
--- /dev/null
+++ b/debian/patches/07_io-stdin-used.patch
@@ -0,0 +1,16 @@
+Description: Add _IO_stdin_used to mpv version script
+ This symbol is used on some architectures by glibc to determine whether the
+ calling executable is linked with the old libio ABI or the new libio ABI. All
+ new executables are supposed to have it defined. Unfortunately, if the version
+ script does not allow this symbol to be exported, glibc will try to use the
+ old ABI and cause chaos (crashes in various places).
+Author: James Cowgill <jcowgill at debian.org>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/libmpv/mpv.def
++++ b/libmpv/mpv.def
+@@ -1,3 +1,4 @@
++_IO_stdin_used
+ mpv_client_api_version
+ mpv_client_name
+ mpv_command
diff --git a/debian/patches/series b/debian/patches/series
index d88f306..6e2b25f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 04_waf-pie.patch
 05_add-keywords.patch
 06_ffmpeg-abi.patch
+07_io-stdin-used.patch

-- 
mpv packaging



More information about the pkg-multimedia-commits mailing list