sys-apps/prctl: use only <sys/prctl.h>, bug #716298
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 6 Apr 2020 21:14:22 +0000 (22:14 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 6 Apr 2020 21:14:22 +0000 (22:14 +0100)
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/716298
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-apps/prctl/files/prctl-1.6-no-implicits.patch

index 2bbf9aba69aaf97b0ea0533702766ac11f613729..eab464d22559bd17c32982c676d3af95d8c2bc51 100644 (file)
@@ -1,12 +1,9 @@
-diff --git a/prctl.c b/prctl.c
-index 2dcda79..01c542f 100644
 --- a/prctl.c
 +++ b/prctl.c
-@@ -27,3 +27,4 @@
+@@ -27,3 +27,3 @@
  #include <pwd.h>
 -#include <linux/prctl.h>
-+#include <linux/prctl.h> /* prctl constants */
-+#include <sys/prctl.h> /* prctl() proto */
++#include <sys/prctl.h> /* prctl constants, prctl() proto */
  #include <string.h>
 @@ -50,3 +51,3 @@ int verbose=0;