summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-03-19 11:17:52 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-03-19 11:17:52 +0000
commit863916643729eef26dab47f320e765bcba9eaccb (patch)
treefd957691ea2bf5429601318089291498e2a240c3 /sys-apps/usbd
parentStable on alpha. (diff)
downloadhistorical-863916643729eef26dab47f320e765bcba9eaccb.tar.gz
historical-863916643729eef26dab47f320e765bcba9eaccb.tar.bz2
historical-863916643729eef26dab47f320e765bcba9eaccb.zip
Fix #78402 compile issue.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-apps/usbd')
-rw-r--r--sys-apps/usbd/ChangeLog8
-rw-r--r--sys-apps/usbd/Manifest5
-rw-r--r--sys-apps/usbd/files/usbd-gcc-3.4.patch10
-rw-r--r--sys-apps/usbd/usbd-0.1.ebuild12
4 files changed, 29 insertions, 6 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/Manifest b/sys-apps/usbd/Manifest
index cb40c9910dd3..26737321a1e9 100644
--- a/sys-apps/usbd/Manifest
+++ b/sys-apps/usbd/Manifest
@@ -1,5 +1,6 @@
-MD5 f6e8c91d6fb9a776db72407dcdf0fbe9 ChangeLog 903
+MD5 337a742f8ac3dd511ba621e3ea440a07 ChangeLog 1017
+MD5 08d7aaf9884cc15a93fcd56e122a3883 usbd-0.1.ebuild 950
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 6d9108fb52a2c34233347c8ce6d0a07b usbd-0.1.ebuild 813
MD5 44582f35ae2f6b3765620c92aabba729 files/digest-usbd-0.1 60
+MD5 cd512f356018c4f3df27a9476167eba0 files/usbd-gcc-3.4.patch 238
MD5 8b5a41a7335d390fbf46a49b9759a252 files/usbd 400
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