summaryrefslogtreecommitdiff
path: root/extra/mplayer/mplayer-38101-sigcontext.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-05-20 11:25:59 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-05-20 11:25:59 +0200
commitf31bad7e31f6728af66a8f85cddc6634409acfdf (patch)
tree1e418647ba066af1a2b840a7a391518dff605325 /extra/mplayer/mplayer-38101-sigcontext.patch
parent7ca76f3fc7b5fcc551147e3a2a3b0e8975a082e7 (diff)
downloadpackages-f31bad7e31f6728af66a8f85cddc6634409acfdf.tar.xz
extra/mplayer: patch for sigcontext still needed, why does it fail!?!
Diffstat (limited to 'extra/mplayer/mplayer-38101-sigcontext.patch')
-rw-r--r--extra/mplayer/mplayer-38101-sigcontext.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/mplayer/mplayer-38101-sigcontext.patch b/extra/mplayer/mplayer-38101-sigcontext.patch
new file mode 100644
index 00000000..31e2d4c8
--- /dev/null
+++ b/extra/mplayer/mplayer-38101-sigcontext.patch
@@ -0,0 +1,11 @@
+diff -rauN mplayer-38101/cpudetect.c mplayer-38101-sigcontext-patch/cpudetect.c
+--- mplayer-38101/cpudetect.c 2018-05-17 11:15:24.975263641 +0200
++++ mplayer-38101-sigcontext-patch/cpudetect.c 2018-05-17 12:04:52.811930307 +0200
+@@ -38,6 +38,7 @@
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+ #elif defined(__linux__)
++#define __USE_MISC // for struct struct sigcontext
+ #include <signal.h>
+ #elif defined(__MINGW32__) || defined(__CYGWIN__)
+ #include <windows.h>