diff options
author | Franc[e]sco | 2020-09-25 18:43:20 +0200 |
---|---|---|
committer | Franc[e]sco | 2020-09-25 18:43:37 +0200 |
commit | c136daac90027f1fff3838e56325bfc7f5220e84 (patch) | |
tree | 3b37f03e0966809e558e6740be979c94a46fe51f /sysctl-deprecated.patch | |
download | aur-c136daac90027f1fff3838e56325bfc7f5220e84.tar.gz |
first commit
Diffstat (limited to 'sysctl-deprecated.patch')
-rw-r--r-- | sysctl-deprecated.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sysctl-deprecated.patch b/sysctl-deprecated.patch new file mode 100644 index 000000000000..a20bd7995636 --- /dev/null +++ b/sysctl-deprecated.patch @@ -0,0 +1,23 @@ +From f68fa2ff5a5d4355f128d8b4b9689011b01e3014 Mon Sep 17 00:00:00 2001 +From: Joel Linn <jl@conductive.de> +Date: Sun, 20 Oct 2019 15:59:20 +0200 +Subject: [PATCH] Fix Linux build on recent systems with deprecated + sys/sysctl.h + +--- + config_lin.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config_lin.h b/config_lin.h +index 3ceac51fdf..f5de57cd16 100644 +--- a/config_lin.h ++++ b/config_lin.h +@@ -257,7 +257,7 @@ + #define HAVE_SLEEP 0 + #define HAVE_STRERROR_R 1 + #define HAVE_SYSCONF 1 +-#define HAVE_SYSCTL 1 ++#define HAVE_SYSCTL 0 + #define HAVE_USLEEP 1 + #define HAVE_VIRTUALALLOC 0 + #define HAVE_PTHREADS 1 |