diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-01-02 07:02:25 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-01-02 07:02:55 +0100 |
commit | 70af29446aa5d28d938c4720188ef2782d8fdc92 (patch) | |
tree | f6051b4923f100df9847419ee2085f33e363b420 /app-admin | |
parent | www-apps/bugzilla: remove old vn. bugzilla-4.2.11 (diff) | |
download | gentoo-70af29446aa5d28d938c4720188ef2782d8fdc92.tar.gz gentoo-70af29446aa5d28d938c4720188ef2782d8fdc92.tar.bz2 gentoo-70af29446aa5d28d938c4720188ef2782d8fdc92.zip |
app-admin/killproc: Drop unneeded argz.h include (bug #570556).
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/killproc/files/killproc-2.13-argz.patch | 10 | ||||
-rw-r--r-- | app-admin/killproc/killproc-2.13-r1.ebuild | 5 |
2 files changed, 14 insertions, 1 deletions
diff --git a/app-admin/killproc/files/killproc-2.13-argz.patch b/app-admin/killproc/files/killproc-2.13-argz.patch new file mode 100644 index 000000000000..6ea0cc5f8f2c --- /dev/null +++ b/app-admin/killproc/files/killproc-2.13-argz.patch @@ -0,0 +1,10 @@ +--- a/startproc.c ++++ b/startproc.c +@@ -25,7 +25,6 @@ + #include <sys/time.h> + #include <sys/resource.h> + #include <sys/ioctl.h> +-#include <argz.h> + #include <grp.h> + + #define USAGE "Usage:\n"\ diff --git a/app-admin/killproc/killproc-2.13-r1.ebuild b/app-admin/killproc/killproc-2.13-r1.ebuild index 92094e47d750..9a7dab55a48b 100644 --- a/app-admin/killproc/killproc-2.13-r1.ebuild +++ b/app-admin/killproc/killproc-2.13-r1.ebuild @@ -14,7 +14,10 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" src_prepare() { - epatch "${FILESDIR}/${P}-makefile.patch" + epatch \ + "${FILESDIR}/${P}-makefile.patch" \ + "${FILESDIR}/${P}-argz.patch" + tc-export CC export COPTS=${CFLAGS} } |