From 3cb12b00a953b2066e7378979a4c99e04d928051 Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Thu, 15 Feb 2007 16:25:24 +0000 Subject: [PATCH] Fix compilation with sys-kernel/linux-headers-2.6.20, see bug #167050. Package-Manager: portage-2.1.2-r9 --- sys-block/mpt-status/ChangeLog | 6 ++++- sys-block/mpt-status/Manifest | 26 ++++++++++++++------ sys-block/mpt-status/mpt-status-1.2.0.ebuild | 5 +++- 3 files changed, 27 insertions(+), 10 deletions(-) diff --git a/sys-block/mpt-status/ChangeLog b/sys-block/mpt-status/ChangeLog index 759adaf27f8b..fc729bcda2db 100644 --- a/sys-block/mpt-status/ChangeLog +++ b/sys-block/mpt-status/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-block/mpt-status # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/ChangeLog,v 1.5 2007/02/03 14:05:31 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/ChangeLog,v 1.6 2007/02/15 16:25:24 nelchael Exp $ + + 15 Feb 2007; Krzysiek Pawlik + mpt-status-1.2.0.ebuild: + Fix compilation with sys-kernel/linux-headers-2.6.20, see bug #167050. 03 Feb 2007; Steve Dibb mpt-status-1.2.0.ebuild: amd64 stable, bug 158591 diff --git a/sys-block/mpt-status/Manifest b/sys-block/mpt-status/Manifest index 89e6b4b9e44c..453159c10c79 100644 --- a/sys-block/mpt-status/Manifest +++ b/sys-block/mpt-status/Manifest @@ -1,17 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX mpt-status-1.2.0-gentoo.patch 1704 RMD160 46ce0a0589aca502ba21b487adf444413dddbe7d SHA1 7a26dcc2112a6482a570a26a7a19e629c9beb6e4 SHA256 dd8d42baafb13884a21a99eca7e63f9062e5f467c0a4c50c0bb2bbde5e61574f MD5 97a6ebb001488221fef4e1bcdd190350 files/mpt-status-1.2.0-gentoo.patch 1704 RMD160 46ce0a0589aca502ba21b487adf444413dddbe7d files/mpt-status-1.2.0-gentoo.patch 1704 SHA256 dd8d42baafb13884a21a99eca7e63f9062e5f467c0a4c50c0bb2bbde5e61574f files/mpt-status-1.2.0-gentoo.patch 1704 DIST mpt-status-1.1.6-linux-sources.tar.bz2 32137 RMD160 d4a78eaffdb978dda3f9ccba985d1c9f9fde9806 SHA1 ad45ed9adf7af4cec1c63deaa76c59111835d74a SHA256 c793393803bfa0dbb8d543788c36bd6d36ec4374f82b06bc88c4b63d4651c337 DIST mpt-status-1.2.0.tar.bz2 36060 RMD160 2bd9294a82469aa51ad7cb76664e8c959261e2c5 SHA1 1630fd934922a37f572f3a94ab7062a23fa887e1 SHA256 4457c2e3f7b493f20f9527f21dd4f26aa3fc14eaaaeb1ee1ba63a1024369bab4 -EBUILD mpt-status-1.2.0.ebuild 827 RMD160 dddeb9697c8aaa46b0b324553bf0f9a271424ea4 SHA1 26b5f9ed5b56889c8ecec5a5d6ef2637d9bbe4da SHA256 da602210e36c298c5e6202da15e21d978c2ca4dcd02a143949193b9a672b4d4c -MD5 ec783c3a19783e460e450211099b7cf7 mpt-status-1.2.0.ebuild 827 -RMD160 dddeb9697c8aaa46b0b324553bf0f9a271424ea4 mpt-status-1.2.0.ebuild 827 -SHA256 da602210e36c298c5e6202da15e21d978c2ca4dcd02a143949193b9a672b4d4c mpt-status-1.2.0.ebuild 827 -MISC ChangeLog 1055 RMD160 b30eeae08971e55cf13e8c7352b35066b8b65c09 SHA1 47f197435ecca519b724cfc3d982a71c1cdd1ddd SHA256 cd08c089260619dc56e3ba15c2e2d83cea982761cab1cf2cb6b052fae714f83b -MD5 0c1c8c6e013d21a618f70726584288f0 ChangeLog 1055 -RMD160 b30eeae08971e55cf13e8c7352b35066b8b65c09 ChangeLog 1055 -SHA256 cd08c089260619dc56e3ba15c2e2d83cea982761cab1cf2cb6b052fae714f83b ChangeLog 1055 +EBUILD mpt-status-1.2.0.ebuild 898 RMD160 30f1a368d9d3d6a152ab41006d4c5fe8b1126d19 SHA1 a9bd0bc304d86aae00fb23a157565e59c4dd4354 SHA256 876169819f5e14f091db04fe7b81bd8b4b15716f0bd1c758acdb2e81fc349852 +MD5 f18e48c5c0bb119be316f50839a77926 mpt-status-1.2.0.ebuild 898 +RMD160 30f1a368d9d3d6a152ab41006d4c5fe8b1126d19 mpt-status-1.2.0.ebuild 898 +SHA256 876169819f5e14f091db04fe7b81bd8b4b15716f0bd1c758acdb2e81fc349852 mpt-status-1.2.0.ebuild 898 +MISC ChangeLog 1210 RMD160 f392566f950deb380c3a40214555849e5ac4c4a2 SHA1 4fc1fd27edb2e2d56ff9f3294e331c31289f5df1 SHA256 4f4cd7099f20d04e287415d048b1d0b33a066223d1f53aca1ab2989784f0862b +MD5 95a55fed011d5ce446fe2ec7db7817b5 ChangeLog 1210 +RMD160 f392566f950deb380c3a40214555849e5ac4c4a2 ChangeLog 1210 +SHA256 4f4cd7099f20d04e287415d048b1d0b33a066223d1f53aca1ab2989784f0862b ChangeLog 1210 MISC metadata.xml 227 RMD160 4603991d222df002795ac3709a24e98165edd8d1 SHA1 ac9b347ba7ed1d5f92472126580ef32d63fb9bfa SHA256 ef0905299b05e713fbb019ae7ca5e3e6ebfbf32d47fdd4d803e96a3bda500f71 MD5 487f400dff091bfeb6ca7d9b44ad5ce6 metadata.xml 227 RMD160 4603991d222df002795ac3709a24e98165edd8d1 metadata.xml 227 @@ -19,3 +22,10 @@ SHA256 ef0905299b05e713fbb019ae7ca5e3e6ebfbf32d47fdd4d803e96a3bda500f71 metadata MD5 6e6e36c8a51a75f215f6bfa8503ac53e files/digest-mpt-status-1.2.0 542 RMD160 4028a1d6a9c3d1bec5162a2658a2413ccd89eb71 files/digest-mpt-status-1.2.0 542 SHA256 facf01d39ef5e9f5078b23bfa6da4ac302838117728e5a8f139585f8ff2eda77 files/digest-mpt-status-1.2.0 542 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.2 (GNU/Linux) + +iD8DBQFF1In0go/w9rxVVVERAnGkAJ9hyo0p7HvpP+KAdVAMHWfOGXYxpACeLoSJ +GNgyQH4WJlR/hZWlh8cAWpQ= +=t6NV +-----END PGP SIGNATURE----- diff --git a/sys-block/mpt-status/mpt-status-1.2.0.ebuild b/sys-block/mpt-status/mpt-status-1.2.0.ebuild index 98b7ee6c09ea..63bd4ad37ffd 100644 --- a/sys-block/mpt-status/mpt-status-1.2.0.ebuild +++ b/sys-block/mpt-status/mpt-status-1.2.0.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-block/mpt-status/mpt-status-1.2.0.ebuild,v 1.3 2007/02/03 14:05:31 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/mpt-status-1.2.0.ebuild,v 1.4 2007/02/15 16:25:24 nelchael Exp $ inherit eutils @@ -19,6 +19,9 @@ src_unpack() { unpack ${A} epatch "${FILESDIR}/${PN}-1.2.0-gentoo.patch" + cd "${S}" + sed -i -e 's,\(^.*linux/compiler\.h.*$\),,' mpt-status.h + } src_install() { -- 2.26.2