summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/irqbalance')
-rw-r--r--sys-apps/irqbalance/ChangeLog8
-rw-r--r--sys-apps/irqbalance/files/irqbalance-1.0-build.patch16
-rw-r--r--sys-apps/irqbalance/irqbalance-1.0.1.ebuild (renamed from sys-apps/irqbalance/irqbalance-1.0.ebuild)7
-rw-r--r--sys-apps/irqbalance/metadata.xml8
4 files changed, 13 insertions, 26 deletions
diff --git a/sys-apps/irqbalance/ChangeLog b/sys-apps/irqbalance/ChangeLog
index a0de96716d49..c304b12604f5 100644
--- a/sys-apps/irqbalance/ChangeLog
+++ b/sys-apps/irqbalance/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/irqbalance
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/ChangeLog,v 1.28 2011/11/03 21:00:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/ChangeLog,v 1.29 2011/11/04 08:43:45 jlec Exp $
+
+*irqbalance-1.0.1 (04 Nov 2011)
+
+ 04 Nov 2011; Justin Lecher <jlec@gentoo.org> -irqbalance-1.0.ebuild,
+ +irqbalance-1.0.1.ebuild, -files/irqbalance-1.0-build.patch, metadata.xml:
+ Version Bump with permission of robbat2, fixes Segf on non-NUMA systems
*irqbalance-1.0 (03 Nov 2011)
diff --git a/sys-apps/irqbalance/files/irqbalance-1.0-build.patch b/sys-apps/irqbalance/files/irqbalance-1.0-build.patch
deleted file mode 100644
index e0930d01f1e8..000000000000
--- a/sys-apps/irqbalance/files/irqbalance-1.0-build.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-http://code.google.com/p/irqbalance/issues/detail?id=8
-http://code.google.com/p/irqbalance/issues/detail?id=13
-
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -25,7 +25,9 @@
-
- INCLUDES = -I${top_srcdir}
- LIBS = $(CAPNG_LDADD) $(GLIB_LIBS) -lnuma -lm
--AM_CFLAGS = -g -Os -W -Wall -Wshadow -Wformat -Wundef $(GLIB_CFLAGS) -D_GNU_SOURCE
-+AM_CFLAGS = -W -Wall -Wshadow -Wformat -Wundef
-+AM_CPPFLAGS = $(GLIB_CFLAGS) -D_GNU_SOURCE
-+dist_man_MANS = irqbalance.1
- noinst_HEADERS = bitmap.h constants.h cpumask.h irqbalance.h non-atomic.h \
- types.h
- sbin_PROGRAMS = irqbalance
diff --git a/sys-apps/irqbalance/irqbalance-1.0.ebuild b/sys-apps/irqbalance/irqbalance-1.0.1.ebuild
index 91cf1a32fd14..c2698b7a5921 100644
--- a/sys-apps/irqbalance/irqbalance-1.0.ebuild
+++ b/sys-apps/irqbalance/irqbalance-1.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/irqbalance-1.0.ebuild,v 1.1 2011/11/03 21:00:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/irqbalance-1.0.1.ebuild,v 1.1 2011/11/04 08:43:45 jlec Exp $
EAPI="2"
@@ -8,7 +8,7 @@ inherit eutils autotools
DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system"
HOMEPAGE="http://www.irqbalance.org/"
-SRC_URI="http://irqbalance.googlecode.com/files/${P}.tbz2"
+SRC_URI="http://irqbalance.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -21,10 +21,7 @@ RDEPEND="dev-libs/glib:2
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-S=${WORKDIR}/${PN}
-
src_prepare() {
- epatch "${FILESDIR}"/${P}-build.patch
mv cap-ng.m4 acinclude.m4 || die
if ! use numa ; then
echo 'static inline int numa_available(void) { return -1; }' > numa.h
diff --git a/sys-apps/irqbalance/metadata.xml b/sys-apps/irqbalance/metadata.xml
index d6bcab76836f..71ed1ba75f67 100644
--- a/sys-apps/irqbalance/metadata.xml
+++ b/sys-apps/irqbalance/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>base-system</herd>
-<use>
- <flag name='numa'>Support balancing IRQs across NUMA nodes</flag>
-</use>
+ <herd>base-system</herd>
+ <use>
+ <flag name="numa">Support balancing IRQs across NUMA nodes</flag>
+ </use>
</pkgmetadata>