summaryrefslogtreecommitdiff
path: root/user/numactl/musl.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-07-06 19:19:37 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-07-06 19:19:37 +0000
commitcdd7c92be92eb782d733a446e753ca89917bc7d5 (patch)
tree0d84fc7fa2f73746e84a849572151605b348bd63 /user/numactl/musl.patch
parent5846d0776b625f7edbbbe552f2761bf72babd370 (diff)
parentc50636433139f26543aad061d54c3708b2a4e22a (diff)
downloadpackages-cdd7c92be92eb782d733a446e753ca89917bc7d5.tar.gz
packages-cdd7c92be92eb782d733a446e753ca89917bc7d5.tar.bz2
packages-cdd7c92be92eb782d733a446e753ca89917bc7d5.tar.xz
packages-cdd7c92be92eb782d733a446e753ca89917bc7d5.zip
Merge branch 'popular-demand' into master
Popular Demand Packages -- MR #1 See merge request adelie/packages!269
Diffstat (limited to 'user/numactl/musl.patch')
-rw-r--r--user/numactl/musl.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/user/numactl/musl.patch b/user/numactl/musl.patch
new file mode 100644
index 000000000..009233f63
--- /dev/null
+++ b/user/numactl/musl.patch
@@ -0,0 +1,21 @@
+--- numactl-2.0.11/syscall.c.orig
++++ numactl-2.0.11/syscall.c
+@@ -115,14 +115,16 @@
+
+ #endif
+
+-#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 11)
++#if defined(__GLIBC__)
++# if __GLIBC_PREREQ(2,11)
+
+ /* glibc 2.11 seems to have working 6 argument sycall. Use the
+ glibc supplied syscall in this case.
+ The version cut-off is rather arbitary and could be probably
+ earlier. */
+
+-#define syscall6 syscall
++# define syscall6 syscall
++#endif
+ #elif defined(__x86_64__)
+ /* 6 argument calls on x86-64 are often buggy in both glibc and
+ asm/unistd.h. Add a working version here. */