diff options
author | Alexis Janon | 2020-09-20 23:45:16 +0200 |
---|---|---|
committer | Alexis Janon | 2020-09-20 23:59:16 +0200 |
commit | 9c3dc7bb4e51f351f0c17535f2bf66c5adfc2392 (patch) | |
tree | 64eb98076da1ec81a3587fd96fd825274c6d45c1 /sysctl.patch | |
parent | 443fa8541d4faa987eaf6a6a436a02876c6a0515 (diff) | |
download | aur-9c3dc7bb4e51f351f0c17535f2bf66c5adfc2392.tar.gz |
patch 'os.h' to allow slurm to build
Following the removal of the 'sysctl' syscall in Linux 5.5, the GNU libc has
removed the sys/sysctl.h header and associated function in version 2.32 (see the
release notes: https://sourceware.org/pipermail/libc-announce/2020/000029.html).
The 'os.h' file includes this removed header. This commit introduces the
'sysctl.patch' file, which removes the inclusion of the the 'sys/sysctl.h' file.
The software seems to build and run fine without it.
Diffstat (limited to 'sysctl.patch')
-rw-r--r-- | sysctl.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysctl.patch b/sysctl.patch new file mode 100644 index 000000000000..014ec1ad53c7 --- /dev/null +++ b/sysctl.patch @@ -0,0 +1,11 @@ +diff --unified --recursive --text package.orig/os.h package.new/os.h +--- package.orig/os.h 2015-08-16 19:54:19.000000000 +0200 ++++ package.new/os.h 2020-09-20 23:55:27.463447823 +0200 +@@ -177,7 +177,6 @@ + #elif defined (__linux__) /* L I N U X */ + #include <stdio.h> + #include <sys/param.h> +-#include <sys/sysctl.h> + #include <stdlib.h> + #include <stdarg.h> + #include <unistd.h> |