summaryrefslogtreecommitdiff
path: root/extra/mplayer/mplayer-38101-sigcontext.patch
diff options
context:
space:
mode:
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>