diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2005-03-19 11:17:52 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2005-03-19 11:17:52 +0000 |
commit | 593c26528123b17e1b010c4a3dc9750dc2e577f4 (patch) | |
tree | 747143a24a2eb8c5f74dc08b069d7acef7168481 /sys-apps/usbd | |
parent | Stable on alpha. (diff) | |
download | gentoo-2-593c26528123b17e1b010c4a3dc9750dc2e577f4.tar.gz gentoo-2-593c26528123b17e1b010c4a3dc9750dc2e577f4.tar.bz2 gentoo-2-593c26528123b17e1b010c4a3dc9750dc2e577f4.zip |
Fix #78402 compile issue.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps/usbd')
-rw-r--r-- | sys-apps/usbd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/usbd/files/usbd-gcc-3.4.patch | 10 | ||||
-rw-r--r-- | sys-apps/usbd/usbd-0.1.ebuild | 12 |
3 files changed, 26 insertions, 4 deletions
diff --git a/sys-apps/usbd/ChangeLog b/sys-apps/usbd/ChangeLog index c3cef4819f4d..1fbbfd7bbbc9 100644 --- a/sys-apps/usbd/ChangeLog +++ b/sys-apps/usbd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/usbd -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbd/ChangeLog,v 1.8 2004/09/03 21:03:24 pvdabeel Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbd/ChangeLog,v 1.9 2005/03/19 11:17:51 plasmaroo Exp $ + + 19 Mar 2005; <plasmaroo@gentoo.org> usbd-0.1.ebuild, + +files/usbd-gcc-3.4.patch: + Fix #78402 compile issue. 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> usbd-0.1.ebuild: Masked usbd-0.1.ebuild stable for ppc diff --git a/sys-apps/usbd/files/usbd-gcc-3.4.patch b/sys-apps/usbd/files/usbd-gcc-3.4.patch new file mode 100644 index 000000000000..8210d5386332 --- /dev/null +++ b/sys-apps/usbd/files/usbd-gcc-3.4.patch @@ -0,0 +1,10 @@ +--- loader.c 1999-12-22 15:15:26.000000000 +0000 ++++ loader.c.new 2005-03-19 11:11:51.000000000 +0000 +@@ -135,6 +135,7 @@ + } + lprintf(1, "warning: child pid %ld died, but not in child list\n", (long)pid); + found: ++ return; + } + } + diff --git a/sys-apps/usbd/usbd-0.1.ebuild b/sys-apps/usbd/usbd-0.1.ebuild index 821c1b69b7a7..5134db2bfa32 100644 --- a/sys-apps/usbd/usbd-0.1.ebuild +++ b/sys-apps/usbd/usbd-0.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbd/usbd-0.1.ebuild,v 1.9 2004/09/03 21:03:24 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbd/usbd-0.1.ebuild,v 1.10 2005/03/19 11:17:51 plasmaroo Exp $ + +inherit eutils DESCRIPTION="USB Daemon" HOMEPAGE="http://usb.cs.tum.edu" @@ -12,6 +14,12 @@ IUSE="" DEPEND="virtual/libc >=sys-apps/usbutils-0.11" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/usbd-gcc-3.4.patch || die 'Failed to apply GCC 3.4 patch!' +} + src_compile() { econf --prefix=/usr --sysconfdir=/etc/usbd || die "econf failed" mv Makefile Makefile.orig |