From 620a898262ea8c8ad95be66d5b4db2f06a407c3b Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Wed, 14 Dec 2011 17:21:59 +0000 Subject: Fix missing limits.h and stddef.h wrt #394633 by Alexandre Rostovtsev. This is Debian patch 04-missing-includes.diff. (Portage version: 2.2.0_alpha79/cvs/Linux x86_64) --- sys-apps/usbutils/ChangeLog | 7 ++++++- .../files/usbutils-005-missing-includes.patch | 22 ++++++++++++++++++++++ sys-apps/usbutils/usbutils-005.ebuild | 6 ++++-- 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 sys-apps/usbutils/files/usbutils-005-missing-includes.patch (limited to 'sys-apps/usbutils') diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog index 12340251509f..6db5c2f738b3 100644 --- a/sys-apps/usbutils/ChangeLog +++ b/sys-apps/usbutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/usbutils # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.126 2011/12/13 18:23:22 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.127 2011/12/14 17:21:58 ssuominen Exp $ + + 14 Dec 2011; Samuli Suominen usbutils-005.ebuild, + +files/usbutils-005-missing-includes.patch: + Fix missing limits.h and stddef.h wrt #394633 by Alexandre Rostovtsev. This + is Debian patch 04-missing-includes.diff. 13 Dec 2011; Jeroen Roovers usbutils-004.ebuild: Stable for HPPA (bug #394577). diff --git a/sys-apps/usbutils/files/usbutils-005-missing-includes.patch b/sys-apps/usbutils/files/usbutils-005-missing-includes.patch new file mode 100644 index 000000000000..5d6d762d17b0 --- /dev/null +++ b/sys-apps/usbutils/files/usbutils-005-missing-includes.patch @@ -0,0 +1,22 @@ +This is 04-missing-includes.diff from Debian to resolve http://bugs.gentoo.org/394633 + +--- usbhid-dump/include/uhd/dev_list.h ++++ usbhid-dump/include/uhd/dev_list.h +@@ -27,6 +27,7 @@ + #ifndef __UHD_DEV_LIST_H__ + #define __UHD_DEV_LIST_H__ + ++#include + #include "uhd/dev.h" + + #ifdef __cplusplus +--- usbhid-dump/src/usbhid-dump.c ++++ usbhid-dump/src/usbhid-dump.c +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + + #include "config.h" + diff --git a/sys-apps/usbutils/usbutils-005.ebuild b/sys-apps/usbutils/usbutils-005.ebuild index 91b489c2257e..523f89c7c88c 100644 --- a/sys-apps/usbutils/usbutils-005.ebuild +++ b/sys-apps/usbutils/usbutils-005.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-005.ebuild,v 1.1 2011/12/13 17:38:22 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-005.ebuild,v 1.2 2011/12/14 17:21:59 ssuominen Exp $ EAPI="4" PYTHON_DEPEND="python? 2:2.6" -inherit autotools python +inherit autotools eutils python DESCRIPTION="USB enumeration utilities" HOMEPAGE="http://linux-usb.sourceforge.net/" @@ -31,6 +31,8 @@ pkg_setup() { } src_prepare() { + epatch "${FILESDIR}"/${P}-missing-includes.patch + eautoreconf if use python; then -- cgit v1.2.3-65-gdbad