summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-05 04:27:20 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-05 04:27:20 +0000
commit0d4b4dd795ec09bdc006378bbd3e873084023481 (patch)
tree6348326ec9cf614d46204a460c936f3e99aeea0e /sys-apps/lshw
parentAdded user-submitted patch to zd1211 to make it compile properly. Bug #110776. (diff)
downloadgentoo-2-0d4b4dd795ec09bdc006378bbd3e873084023481.tar.gz
gentoo-2-0d4b4dd795ec09bdc006378bbd3e873084023481.tar.bz2
gentoo-2-0d4b4dd795ec09bdc006378bbd3e873084023481.zip
old
Diffstat (limited to 'sys-apps/lshw')
-rw-r--r--sys-apps/lshw/files/02.00b-dev.patch27
-rw-r--r--sys-apps/lshw/files/digest-lshw-02.03b1
-rw-r--r--sys-apps/lshw/lshw-02.03b.ebuild55
3 files changed, 0 insertions, 83 deletions
diff --git a/sys-apps/lshw/files/02.00b-dev.patch b/sys-apps/lshw/files/02.00b-dev.patch
deleted file mode 100644
index 4b381b350cd7..000000000000
--- a/sys-apps/lshw/files/02.00b-dev.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-No real reason to force including of kernel headers in order
-to get at the major/minor functions since libc provides them.
-
-http://bugs.gentoo.org/show_bug.cgi?id=75168
-
---- lshw-B.02.00/src/core/osutils.cc.orig 2004-12-21 17:02:04.562016784 -0500
-+++ lshw-B.02.00/src/core/osutils.cc 2004-12-21 17:02:24.910923280 -0500
-@@ -7,10 +7,6 @@
- #include <limits.h>
- #include <stdlib.h>
- #include <ctype.h>
--#include <linux/fs.h>
--#ifndef MINOR
--#include <linux/kdev_t.h>
--#endif
-
- static char *id =
- "@(#) $Id: 02.00b-dev.patch,v 1.1 2004/12/21 22:15:01 vapier Exp $";
-@@ -250,7 +246,7 @@
- {
- char devid[80];
-
-- snprintf(devid, sizeof(devid), "%ud:%ud", (unsigned int)MAJOR(buf.st_rdev), (unsigned int)MINOR(buf.st_rdev));
-+ snprintf(devid, sizeof(devid), "%ud:%ud", (unsigned int)major(buf.st_rdev), (unsigned int)minor(buf.st_rdev));
- return string(devid);
- }
- else
diff --git a/sys-apps/lshw/files/digest-lshw-02.03b b/sys-apps/lshw/files/digest-lshw-02.03b
deleted file mode 100644
index 2bd1ba178aaa..000000000000
--- a/sys-apps/lshw/files/digest-lshw-02.03b
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f0de8716c63cd4692a1dec604824d90e lshw-B.02.03.tar.gz 833055
diff --git a/sys-apps/lshw/lshw-02.03b.ebuild b/sys-apps/lshw/lshw-02.03b.ebuild
deleted file mode 100644
index 8261b74faa19..000000000000
--- a/sys-apps/lshw/lshw-02.03b.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/lshw-02.03b.ebuild,v 1.5 2005/05/22 17:24:14 dertobi123 Exp $
-
-inherit flag-o-matic eutils toolchain-funcs
-
-MAJ_PV=${PV:0:5}
-MIN_PVE=${PV:5:7}
-MIN_PV=${MIN_PVE/b/B}
-
-MY_P="$PN-$MIN_PV.$MAJ_PV"
-DESCRIPTION="Hardware Lister"
-HOMEPAGE="http://ezix.sourceforge.net/"
-SRC_URI="mirror://sourceforge/ezix/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-IUSE="gtk"
-
-DEPEND="gtk? ( >=x11-libs/gtk+-2 )"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e "/^CXXFLAGS/s:-Os:${CXXFLAGS}:" \
- -e '/^CXX=/d' -e '/^CC=/d' \
- src/{gui/,core/,}/Makefile \
- || die "sed failed"
-
- #epatch ${FILESDIR}/${PV}-dev.patch #75168
- epatch "${FILESDIR}"/02.00b-cpuid-PIC.patch #61947
-}
-
-src_compile() {
- tc-export CC CXX AR
- emake || die "make failed"
- if use gtk ; then
- emake gui || die "make gui failed"
- fi
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "install failed"
-
- if use gtk ; then
- make DESTDIR="${D}" install-gui || die "install gui failed"
- fi
-
- dodoc README TODO docs/*
-}