diff options
author | Dan Theisen <djt@hxx.in> | 2019-07-03 06:02:00 +0000 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2019-07-06 02:32:34 +0000 |
commit | 38a0fdf20fdbc5142113e969cceee302f48a585d (patch) | |
tree | c498e7d53c11f015ab9b5d109adc02c85b6e0a46 /user/numactl/musl.patch | |
parent | ca9bd22c5a75e0bf73bb4fcd86713c78d00e77fe (diff) | |
download | packages-38a0fdf20fdbc5142113e969cceee302f48a585d.tar.gz packages-38a0fdf20fdbc5142113e969cceee302f48a585d.tar.bz2 packages-38a0fdf20fdbc5142113e969cceee302f48a585d.tar.xz packages-38a0fdf20fdbc5142113e969cceee302f48a585d.zip |
user/numactl: new package
Diffstat (limited to 'user/numactl/musl.patch')
-rw-r--r-- | user/numactl/musl.patch | 21 |
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. */ |