diff options
author | Travis Tilley <lv@gentoo.org> | 2004-07-21 22:31:58 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-07-21 22:31:58 +0000 |
commit | 5dbad762520092577d1f4281c35a73be3d0e9243 (patch) | |
tree | 4c681e78f8664d2cb9ceb5cfcad82f4d4b937562 /sys-apps/xmbmon | |
parent | Removing aa-sources and usermode-sources >= 2.6 mask - I've backported fixes ... (diff) | |
download | gentoo-2-5dbad762520092577d1f4281c35a73be3d0e9243.tar.gz gentoo-2-5dbad762520092577d1f4281c35a73be3d0e9243.tar.bz2 gentoo-2-5dbad762520092577d1f4281c35a73be3d0e9243.zip |
inherit eutils + gcc 3.4 fix
Diffstat (limited to 'sys-apps/xmbmon')
-rw-r--r-- | sys-apps/xmbmon/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/xmbmon/files/xmbmon-2.0.3-gcc34.patch | 24 | ||||
-rw-r--r-- | sys-apps/xmbmon/xmbmon-2.0.3.ebuild | 10 |
3 files changed, 37 insertions, 3 deletions
diff --git a/sys-apps/xmbmon/ChangeLog b/sys-apps/xmbmon/ChangeLog index 2799dacb588f..53822d0dbf28 100644 --- a/sys-apps/xmbmon/ChangeLog +++ b/sys-apps/xmbmon/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/xmbmon # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/ChangeLog,v 1.7 2004/07/01 21:44:58 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/ChangeLog,v 1.8 2004/07/21 22:31:58 lv Exp $ + + 21 Jul 2004; Travis Tilley <lv@gentoo.org> +files/xmbmon-2.0.3-gcc34.patch, + xmbmon-2.0.3.ebuild: + added a gcc 3.4 fix 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> xmbmon-2.0.3.ebuild: virtual/glibc -> virtual/libc diff --git a/sys-apps/xmbmon/files/xmbmon-2.0.3-gcc34.patch b/sys-apps/xmbmon/files/xmbmon-2.0.3-gcc34.patch new file mode 100644 index 000000000000..b319e79efbc0 --- /dev/null +++ b/sys-apps/xmbmon/files/xmbmon-2.0.3-gcc34.patch @@ -0,0 +1,24 @@ +diff -Nru xmbmon203.old/pci_pm.c xmbmon203/pci_pm.c +--- xmbmon203.old/pci_pm.c 2004-07-21 18:12:47.233020408 -0400 ++++ xmbmon203/pci_pm.c 2004-07-21 18:13:01.936785096 -0400 +@@ -184,7 +184,7 @@ + ret = NFORCE2SMB; + inq_smbba = getSMBBA71; + break; +- default: ++ default:; + } + #if !defined(LINUX) && defined(HAVE_SMBUS) && defined(SMBUS_IOCTL) + if (ret) +diff -Nru xmbmon203.old/sensors.c xmbmon203/sensors.c +--- xmbmon203.old/sensors.c 2004-07-21 18:12:47.231020712 -0400 ++++ xmbmon203/sensors.c 2004-07-21 18:13:23.193553576 -0400 +@@ -117,7 +117,7 @@ + fprintf(stderr, + " SMBus slave 0x%02X(0x%02X) found...\n", j, j/2); + } +-skip: ++skip:; + } + method->Close(); + smb_slave = save; diff --git a/sys-apps/xmbmon/xmbmon-2.0.3.ebuild b/sys-apps/xmbmon/xmbmon-2.0.3.ebuild index f0851d7fe70f..06d5cf0f2689 100644 --- a/sys-apps/xmbmon/xmbmon-2.0.3.ebuild +++ b/sys-apps/xmbmon/xmbmon-2.0.3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/xmbmon-2.0.3.ebuild,v 1.7 2004/07/01 21:44:58 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/xmbmon-2.0.3.ebuild,v 1.8 2004/07/21 22:31:58 lv Exp $ -inherit gnuconfig +inherit gnuconfig eutils MY_P="${PN}${PV//.}" DESCRIPTION="Mother Board Monitor Program for X Window System" @@ -19,6 +19,12 @@ DEPEND="virtual/libc S=${WORKDIR}/${MY_P} +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/xmbmon-2.0.3-gcc34.patch +} + src_compile() { gnuconfig_update |