summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-09-04 00:12:44 +0000
committerMike Frysinger <vapier@gentoo.org>2007-09-04 00:12:44 +0000
commit894834e12e811bfd3129b254ee3dc8c94a52dc0d (patch)
tree51aafdf404aadb92a530603a0b3b83a39e6836f7 /sys-apps/util-linux
parentFix SRC_URI and remove bogus RESTRICT. (diff)
downloadhistorical-894834e12e811bfd3129b254ee3dc8c94a52dc0d.tar.gz
historical-894834e12e811bfd3129b254ee3dc8c94a52dc0d.tar.bz2
historical-894834e12e811bfd3129b254ee3dc8c94a52dc0d.zip
Stub out ioprio syscalls on dated systems #190613 by Panagiotis Christopoulos.
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r--sys-apps/util-linux/ChangeLog6
-rw-r--r--sys-apps/util-linux/Manifest26
-rw-r--r--sys-apps/util-linux/files/util-linux-2.13-ioprio-syscalls.patch16
-rw-r--r--sys-apps/util-linux/util-linux-2.13-r1.ebuild3
4 files changed, 38 insertions, 13 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog
index 7a529993e81b..ed74d03e02e3 100644
--- a/sys-apps/util-linux/ChangeLog
+++ b/sys-apps/util-linux/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/util-linux
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.201 2007/09/03 15:22:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.202 2007/09/04 00:12:44 vapier Exp $
+
+ 04 Sep 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/util-linux-2.13-ioprio-syscalls.patch, util-linux-2.13-r1.ebuild:
+ Stub out ioprio syscalls on dated systems #190613 by Panagiotis Christopoulos.
03 Sep 2007; Mike Frysinger <vapier@gentoo.org>
util-linux-2.12r-r7.ebuild:
diff --git a/sys-apps/util-linux/Manifest b/sys-apps/util-linux/Manifest
index 0d3ca6d8fec2..eb776b7d0950 100644
--- a/sys-apps/util-linux/Manifest
+++ b/sys-apps/util-linux/Manifest
@@ -145,6 +145,10 @@ AUX util-linux-2.12r-umount-nosysfs.patch 432 RMD160 cfb2ac318ac2d821d30b1c4d065
MD5 2ac8d002e13e5fa925551bb42798c363 files/util-linux-2.12r-umount-nosysfs.patch 432
RMD160 cfb2ac318ac2d821d30b1c4d065d1d361845034a files/util-linux-2.12r-umount-nosysfs.patch 432
SHA256 d7b3c5f7268e6ecb086bfb188f01f544099079ed9b4ca0f8d87e97269cb91976 files/util-linux-2.12r-umount-nosysfs.patch 432
+AUX util-linux-2.13-ioprio-syscalls.patch 353 RMD160 a71a1423c1b6fa96320285d8a29fd1963c18d8d1 SHA1 bfc15114d82572e87e02486cf2d91d4ad82a3e57 SHA256 1f8cf8fb0da439072a423f1161ae401ea348c84e8b16811161ce3e46ef9d1aed
+MD5 97f6c7f799cca0f0ee204cab47dc4ff0 files/util-linux-2.13-ioprio-syscalls.patch 353
+RMD160 a71a1423c1b6fa96320285d8a29fd1963c18d8d1 files/util-linux-2.13-ioprio-syscalls.patch 353
+SHA256 1f8cf8fb0da439072a423f1161ae401ea348c84e8b16811161ce3e46ef9d1aed files/util-linux-2.13-ioprio-syscalls.patch 353
AUX util-linux-2.13-locale.patch 3028 RMD160 243732d4e353932908837a3b354e4b7486ed052f SHA1 0f1aec83d55d48112d4a9e954a3c64632e0cd9f3 SHA256 0de4bf7f4d9ae84f42ca656ccaadf814ff5f72325bcc3e687e7dbc7a5034a06f
MD5 2bc51f870c2b167290521010a077b797 files/util-linux-2.13-locale.patch 3028
RMD160 243732d4e353932908837a3b354e4b7486ed052f files/util-linux-2.13-locale.patch 3028
@@ -162,18 +166,18 @@ EBUILD util-linux-2.12r-r7.ebuild 6731 RMD160 fd623efdd06c657ecea5dd3de6a6db50ae
MD5 0fdc9fc88ea357a1cafb916fc32a7156 util-linux-2.12r-r7.ebuild 6731
RMD160 fd623efdd06c657ecea5dd3de6a6db50ae562ead util-linux-2.12r-r7.ebuild 6731
SHA256 1b0e2020a0004e14f66a8290b7e07ae719d8e54c5fb9cb70247c9881b6816750 util-linux-2.12r-r7.ebuild 6731
-EBUILD util-linux-2.13-r1.ebuild 1881 RMD160 85b7431069b1d60a2a8734f2e11e421b8092e421 SHA1 68a4a424161a63bb7082dffd6cf5aff26c94630b SHA256 56bfc0cde7dad198416faa6e7fcf345bc9e4ce97a1a8d430e0edb1e6b42b6a36
-MD5 b5134ce219e8c5cf291aa1e474ff664f util-linux-2.13-r1.ebuild 1881
-RMD160 85b7431069b1d60a2a8734f2e11e421b8092e421 util-linux-2.13-r1.ebuild 1881
-SHA256 56bfc0cde7dad198416faa6e7fcf345bc9e4ce97a1a8d430e0edb1e6b42b6a36 util-linux-2.13-r1.ebuild 1881
+EBUILD util-linux-2.13-r1.ebuild 1939 RMD160 fa606800880368364fccafdbb4b5d6ba79992cc2 SHA1 8a427d9d2f00228dca6081b388a1f7eb949f6c69 SHA256 7f77607b1a4689666d596378b9fff5af76a4cac84bf62e302cdb167a2e5d3061
+MD5 9506411fc3065fe4666139c74e469458 util-linux-2.13-r1.ebuild 1939
+RMD160 fa606800880368364fccafdbb4b5d6ba79992cc2 util-linux-2.13-r1.ebuild 1939
+SHA256 7f77607b1a4689666d596378b9fff5af76a4cac84bf62e302cdb167a2e5d3061 util-linux-2.13-r1.ebuild 1939
EBUILD util-linux-9999.ebuild 1695 RMD160 c61be7a1041d86884c3d5a22a922061617b911f2 SHA1 e51e149f937d0bc3d2b7cc4897ae454f0767d217 SHA256 fc4a8751c5d55865d6555a6b8c639426c4ee8700b8928d7dee205fb6d7688df3
MD5 3358b9404df679e4004ddfc1f0706fbc util-linux-9999.ebuild 1695
RMD160 c61be7a1041d86884c3d5a22a922061617b911f2 util-linux-9999.ebuild 1695
SHA256 fc4a8751c5d55865d6555a6b8c639426c4ee8700b8928d7dee205fb6d7688df3 util-linux-9999.ebuild 1695
-MISC ChangeLog 31278 RMD160 ce60eb2f28a3358df9ddb242f243d6c7d58f1f30 SHA1 f6786e08015dc4999763a07e0954f2c094c190e3 SHA256 a1fda85a9bcdb3d03a828611b53423d546d5ab302c99fc5b22f3efcd2f60c42e
-MD5 18c01925164151cb28f974787bba9755 ChangeLog 31278
-RMD160 ce60eb2f28a3358df9ddb242f243d6c7d58f1f30 ChangeLog 31278
-SHA256 a1fda85a9bcdb3d03a828611b53423d546d5ab302c99fc5b22f3efcd2f60c42e ChangeLog 31278
+MISC ChangeLog 31485 RMD160 ee9c887ea9fdce06ec63f0cf7b355d25665ac34a SHA1 dd040198cf801c3ddfa7aa6ded92ebe0a727aeb3 SHA256 099d0bd0e31bc13c0d497b2899260fde0c82690f1a272bf01cc4276db374aecb
+MD5 5d551bb7e02977660cb97d3c84256991 ChangeLog 31485
+RMD160 ee9c887ea9fdce06ec63f0cf7b355d25665ac34a ChangeLog 31485
+SHA256 099d0bd0e31bc13c0d497b2899260fde0c82690f1a272bf01cc4276db374aecb ChangeLog 31485
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -190,7 +194,7 @@ SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.6 (GNU/Linux)
-iD8DBQFG3Cbcp/wUKkr7RBoRAk+XAKCgkh1dNKv8+X9eLUuKocZrAuQ+lwCfUEMJ
-izFYW6q9Y04XO7rLlOpSlLg=
-=6od6
+iD8DBQFG3KMup/wUKkr7RBoRAuMyAKCbcIjT5TqwJCRXj4xiJcAlVfMBSQCfdQlz
+FYC7+BZ0Qd/0QASb3A+niTg=
+=QOKv
-----END PGP SIGNATURE-----
diff --git a/sys-apps/util-linux/files/util-linux-2.13-ioprio-syscalls.patch b/sys-apps/util-linux/files/util-linux-2.13-ioprio-syscalls.patch
new file mode 100644
index 000000000000..f558ff6d1a8f
--- /dev/null
+++ b/sys-apps/util-linux/files/util-linux-2.13-ioprio-syscalls.patch
@@ -0,0 +1,16 @@
+Just stub this cruft for crappy arches
+
+http://bugs.gentoo.org/190613
+
+--- schedutils/ionice.c
++++ schedutils/ionice.c
+@@ -39,7 +39,8 @@
+ # define __NR_ioprio_set 196
+ # define __NR_ioprio_get 218
+ # else
+-# error "Unsupported arch"
++# define __NR_ioprio_set -1
++# define __NR_ioprio_get -1
+ # endif
+
+ # define SYS_ioprio_get __NR_ioprio_get
diff --git a/sys-apps/util-linux/util-linux-2.13-r1.ebuild b/sys-apps/util-linux/util-linux-2.13-r1.ebuild
index d92ba29868df..8ba379345563 100644
--- a/sys-apps/util-linux/util-linux-2.13-r1.ebuild
+++ b/sys-apps/util-linux/util-linux-2.13-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.13-r1.ebuild,v 1.1 2007/09/03 15:20:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.13-r1.ebuild,v 1.2 2007/09/04 00:12:44 vapier Exp $
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git"
inherit eutils
@@ -41,6 +41,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-locale.patch #191111
+ epatch "${FILESDIR}"/${P}-ioprio-syscalls.patch #190613
fi
}