diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-06 22:14:22 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-06 22:14:22 +0100 |
commit | 632211107cecdc1c9f59a610d1a247c94b2d817e (patch) | |
tree | f42617c6ebb5bcc66f2f49c37e5f98f3981e8d1a /sys-apps/prctl | |
parent | dev-python/eyeD3: stable 0.8.11 for ppc64, bug #702116 (diff) | |
download | gentoo-632211107cecdc1c9f59a610d1a247c94b2d817e.tar.gz gentoo-632211107cecdc1c9f59a610d1a247c94b2d817e.tar.bz2 gentoo-632211107cecdc1c9f59a610d1a247c94b2d817e.zip |
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@gentoo.org>
Diffstat (limited to 'sys-apps/prctl')
-rw-r--r-- | sys-apps/prctl/files/prctl-1.6-no-implicits.patch | 7 |
1 files 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 2bbf9aba69aa..eab464d22559 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; |