summaryrefslogtreecommitdiff
path: root/package/trinity/patches/patch-syscalls_prctl_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/trinity/patches/patch-syscalls_prctl_c')
-rw-r--r--package/trinity/patches/patch-syscalls_prctl_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/trinity/patches/patch-syscalls_prctl_c b/package/trinity/patches/patch-syscalls_prctl_c
new file mode 100644
index 000000000..9adbe22f8
--- /dev/null
+++ b/package/trinity/patches/patch-syscalls_prctl_c
@@ -0,0 +1,11 @@
+--- trinity-1.6.orig/syscalls/prctl.c 2015-11-03 18:05:50.000000000 +0100
++++ trinity-1.6/syscalls/prctl.c 2016-02-25 00:26:56.000000000 +0100
+@@ -34,7 +34,7 @@ static int prctl_opts[] = {
+ PR_GET_NO_NEW_PRIVS, PR_GET_TID_ADDRESS, PR_SET_THP_DISABLE, PR_GET_THP_DISABLE,
+ PR_MPX_ENABLE_MANAGEMENT, PR_MPX_DISABLE_MANAGEMENT,
+ #ifdef __mips__
+- GET_FP_MODE, SET_FP_MODE,
++ PR_GET_FP_MODE, PR_SET_FP_MODE,
+ #endif
+ PR_CAP_AMBIENT,
+ };