commit:     632211107cecdc1c9f59a610d1a247c94b2d817e
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  6 21:14:22 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Apr  6 21:14:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63221110

sys-apps/prctl: use only <sys/prctl.h>, bug #716298

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 <AT> gentoo.org>

 sys-apps/prctl/files/prctl-1.6-no-implicits.patch | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/sys-apps/prctl/files/prctl-1.6-no-implicits.patch 
b/sys-apps/prctl/files/prctl-1.6-no-implicits.patch
index 2bbf9aba69a..eab464d2255 100644
--- a/sys-apps/prctl/files/prctl-1.6-no-implicits.patch
+++ b/sys-apps/prctl/files/prctl-1.6-no-implicits.patch
@@ -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;
  

Reply via email to