diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-08-12 07:14:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-08-12 07:14:49 +0000 |
commit | 7c052f255be2e01be91a585353735a3a37df4600 (patch) | |
tree | 4a58367ebc97dc3943da568980ffde9853c2c0ae /net-libs/libtirpc | |
parent | Mask tar-1.28 on Darwin for bug #518444 (diff) | |
download | gentoo-2-7c052f255be2e01be91a585353735a3a37df4600.tar.gz gentoo-2-7c052f255be2e01be91a585353735a3a37df4600.tar.bz2 gentoo-2-7c052f255be2e01be91a585353735a3a37df4600.zip |
Add missing include of stdarg.h.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'net-libs/libtirpc')
-rw-r--r-- | net-libs/libtirpc/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/libtirpc/files/libtirpc-0.2.5-stdarg.patch | 29 | ||||
-rw-r--r-- | net-libs/libtirpc/libtirpc-0.2.5.ebuild | 6 |
3 files changed, 39 insertions, 2 deletions
diff --git a/net-libs/libtirpc/ChangeLog b/net-libs/libtirpc/ChangeLog index d3f4c30b6f5a..8d915f7d50e2 100644 --- a/net-libs/libtirpc/ChangeLog +++ b/net-libs/libtirpc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/libtirpc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/ChangeLog,v 1.41 2014/08/11 13:37:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/ChangeLog,v 1.42 2014/08/12 07:14:49 vapier Exp $ + + 12 Aug 2014; Mike Frysinger <vapier@gentoo.org> + +files/libtirpc-0.2.5-stdarg.patch, libtirpc-0.2.5.ebuild: + Add missing include of stdarg.h. 11 Aug 2014; Mike Frysinger <vapier@gentoo.org> libtirpc-0.2.4-r1.ebuild: Mark arm64/ppc/ppc64/s390/sh stable #514912. diff --git a/net-libs/libtirpc/files/libtirpc-0.2.5-stdarg.patch b/net-libs/libtirpc/files/libtirpc-0.2.5-stdarg.patch new file mode 100644 index 000000000000..8006de39e4dc --- /dev/null +++ b/net-libs/libtirpc/files/libtirpc-0.2.5-stdarg.patch @@ -0,0 +1,29 @@ +From d26607bade0893fe8652e1a0983f9fae59c64649 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Tue, 12 Aug 2014 03:11:41 -0400 +Subject: [PATCH libtirpc] include stdarg.h when used + +The debug.h header uses va_list but doesn't include stdarg.h which +can lead to random build failures. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + src/debug.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/debug.h b/src/debug.h +index afc8d57..c971ac3 100644 +--- a/src/debug.h ++++ b/src/debug.h +@@ -21,6 +21,8 @@ + + #ifndef _DEBUG_H + #define _DEBUG_H ++ ++#include <stdarg.h> + #include <syslog.h> + + extern int libtirpc_debug_level; +-- +2.0.0 + diff --git a/net-libs/libtirpc/libtirpc-0.2.5.ebuild b/net-libs/libtirpc/libtirpc-0.2.5.ebuild index efc3dfdad47b..20334067c0d4 100644 --- a/net-libs/libtirpc/libtirpc-0.2.5.ebuild +++ b/net-libs/libtirpc/libtirpc-0.2.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/libtirpc-0.2.5.ebuild,v 1.1 2014/08/09 13:42:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/libtirpc-0.2.5.ebuild,v 1.2 2014/08/12 07:14:49 vapier Exp $ EAPI="4" @@ -31,6 +31,10 @@ src_unpack() { cp -r tirpc "${S}"/ || die } +src_prepare() { + epatch "${FILESDIR}"/${P}-stdarg.patch +} + multilib_src_configure() { ECONF_SOURCE=${S} \ econf \ |