summaryrefslogtreecommitdiff
path: root/libre/mplayer/mplayer-glibc-2.27.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-05-16 11:52:02 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-05-16 11:52:02 -0500
commit06a69b97da8e18f0b00c73650b076e19888d3137 (patch)
tree07d1610b5395d0c249f214d8a8349cba15d40939 /libre/mplayer/mplayer-glibc-2.27.patch
parent9bf4f74ecce6e148cd070a68c7871b697c6b5b74 (diff)
downloadabslibre-06a69b97da8e18f0b00c73650b076e19888d3137.tar.gz
abslibre-06a69b97da8e18f0b00c73650b076e19888d3137.tar.bz2
abslibre-06a69b97da8e18f0b00c73650b076e19888d3137.zip
mplayer-38101-1.parabola2: add mplayer-glibc-2.27.patch
Diffstat (limited to 'libre/mplayer/mplayer-glibc-2.27.patch')
-rw-r--r--libre/mplayer/mplayer-glibc-2.27.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/libre/mplayer/mplayer-glibc-2.27.patch b/libre/mplayer/mplayer-glibc-2.27.patch
new file mode 100644
index 000000000..68f1c892a
--- /dev/null
+++ b/libre/mplayer/mplayer-glibc-2.27.patch
@@ -0,0 +1,21 @@
+Description: Fix FTBFS with glibc 2.27 on i386
+ cpudetect.c uses the non-standard "struct sigcontext" in its SIGILL handler. As
+ of glibc 2.27, this is not defined in strict standards compliant mode.
+ .
+ Fix by defining _GNU_SOURCE in cpudetect.c.
+Author: James Cowgill <jcowgill@debian.org>
+Bug: https://trac.mplayerhq.hu/ticket/2343
+Bug-Debian: https://bugs.debian.org/896805
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/cpudetect.c
++++ b/cpudetect.c
+@@ -16,6 +16,8 @@
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
++#define _GNU_SOURCE
++
+ #include "mpx86asm.h"
+ #include "config.h"
+ #include "cpudetect.h"