commit: ebfc67b902f1344ddbe06f04b226d97e31dc826a Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Thu Nov 20 12:48:22 2014 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Thu Nov 20 12:48:22 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=ebfc67b9
net-misc/iputils: fix imcomplete type due to header order Package-Manager: portage-2.2.8-r2 Manifest-Sign-Key: 0xF52D4BBA --- .../files/iputils-20121221-fix-header-order.patch | 18 ++++++++++++++++++ net-misc/iputils/iputils-20121221-r99.ebuild | 1 + 2 files changed, 19 insertions(+) diff --git a/net-misc/iputils/files/iputils-20121221-fix-header-order.patch b/net-misc/iputils/files/iputils-20121221-fix-header-order.patch new file mode 100644 index 0000000..6bfcea4 --- /dev/null +++ b/net-misc/iputils/files/iputils-20121221-fix-header-order.patch @@ -0,0 +1,18 @@ +diff -Naur iputils-s20121221.orig/tracepath.c iputils-s20121221/tracepath.c +--- iputils-s20121221.orig/tracepath.c 2014-11-20 07:39:59.114108620 -0500 ++++ iputils-s20121221/tracepath.c 2014-11-20 07:40:37.813110381 -0500 +@@ -14,13 +14,13 @@ + #include <unistd.h> + #include <sys/socket.h> + #include <linux/types.h> +-#include <linux/errqueue.h> + #include <errno.h> + #include <string.h> + #include <netdb.h> + #include <netinet/in.h> + #include <resolv.h> + #include <sys/time.h> ++#include <linux/errqueue.h> + #include <sys/uio.h> + #include <arpa/inet.h> + #include <limits.h> diff --git a/net-misc/iputils/iputils-20121221-r99.ebuild b/net-misc/iputils/iputils-20121221-r99.ebuild index c25220e..9e53b7a 100644 --- a/net-misc/iputils/iputils-20121221-r99.ebuild +++ b/net-misc/iputils/iputils-20121221-r99.ebuild @@ -60,6 +60,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-20121221-add-bits_types_h.patch epatch "${FILESDIR}"/${PN}-20121221-remove-rdisc-glibc-assumption.patch epatch "${FILESDIR}"/${PN}-20121221-fix-init-elemnt.patch + epatch "${FILESDIR}"/${PN}-20121221-fix-header-order.patch use SECURITY_HAZARD && epatch "${FILESDIR}"/${PN}-20071127-nonroot-floodping.patch use static && append-ldflags -static }