diff options
author | Joseph Jezak <josejx@gentoo.org> | 2007-06-28 13:22:56 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2007-06-28 13:22:56 +0000 |
commit | e21ae61a58917cdb2a8ddddbb261a1435954e879 (patch) | |
tree | 0afa79a1abdb48afa5ae9202cf6e6c42ebe7cf14 | |
parent | Add svn snapshot with fixed security bug #183174 and fixed crash-on-initial-s... (diff) | |
download | gentoo-2-e21ae61a58917cdb2a8ddddbb261a1435954e879.tar.gz gentoo-2-e21ae61a58917cdb2a8ddddbb261a1435954e879.tar.bz2 gentoo-2-e21ae61a58917cdb2a8ddddbb261a1435954e879.zip |
Added patch to fix compilation on powerpc, marked ppc stable for bug #182524.
(Portage version: 2.1.3_rc5)
-rw-r--r-- | sys-process/schedutils/ChangeLog | 6 | ||||
-rw-r--r-- | sys-process/schedutils/files/schedutils-1.5.0-powerpc.patch | 11 | ||||
-rw-r--r-- | sys-process/schedutils/schedutils-1.5.0.ebuild | 13 |
3 files changed, 27 insertions, 3 deletions
diff --git a/sys-process/schedutils/ChangeLog b/sys-process/schedutils/ChangeLog index 02b80b3dd82c..fec848d1aff1 100644 --- a/sys-process/schedutils/ChangeLog +++ b/sys-process/schedutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-process/schedutils # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/schedutils/ChangeLog,v 1.7 2007/06/27 16:05:49 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/schedutils/ChangeLog,v 1.8 2007/06/28 13:22:56 josejx Exp $ + + 28 Jun 2007; Joseph Jezak <josejx@gentoo.org> + +files/schedutils-1.5.0-powerpc.patch, schedutils-1.5.0.ebuild: + Added patch to fix compilation on powerpc, marked ppc stable for bug #182524. 27 Jun 2007; Christian Faulhammer <opfer@gentoo.org> schedutils-1.5.0.ebuild: diff --git a/sys-process/schedutils/files/schedutils-1.5.0-powerpc.patch b/sys-process/schedutils/files/schedutils-1.5.0-powerpc.patch new file mode 100644 index 000000000000..ac198600469c --- /dev/null +++ b/sys-process/schedutils/files/schedutils-1.5.0-powerpc.patch @@ -0,0 +1,11 @@ +--- ionice.c.bak 2007-06-26 15:36:15.000000000 -0400 ++++ ionice.c 2007-06-26 15:36:19.000000000 -0400 +@@ -35,7 +35,7 @@ + #if defined(__i386__) + # define __NR_ioprio_set 289 + # define __NR_ioprio_get 290 +-#elif defined(__ppc__) ++#elif defined(__ppc__) || defined(__powerpc__) + # define __NR_ioprio_set 273 + # define __NR_ioprio_get 274 + #elif defined(__x86_64__) diff --git a/sys-process/schedutils/schedutils-1.5.0.ebuild b/sys-process/schedutils/schedutils-1.5.0.ebuild index e9e730e05456..463c7ff5f771 100644 --- a/sys-process/schedutils/schedutils-1.5.0.ebuild +++ b/sys-process/schedutils/schedutils-1.5.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/schedutils/schedutils-1.5.0.ebuild,v 1.3 2007/06/27 16:05:49 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/schedutils/schedutils-1.5.0.ebuild,v 1.4 2007/06/28 13:22:56 josejx Exp $ + +inherit eutils DESCRIPTION="Utilities for manipulating kernel schedular parameters" HOMEPAGE="http://rlove.org/schedutils/" @@ -8,12 +10,19 @@ SRC_URI="http://rlove.org/schedutils/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc x86" +KEYWORDS="amd64 ppc x86" IUSE="" DEPEND="" RDEPEND="!>=sys-apps/util-linux-2.13_pre" +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${P}-powerpc.patch" +} + src_compile() { emake \ CFLAGS="${CFLAGS}" \ |