summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-06-27 14:38:10 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-06-27 14:38:10 +0000
commitc065ccaf7261575b164c41ab2a5fa12875c0b59c (patch)
tree5691397bbdb98ee36545f95a94eee46df52cdd46 /sys-apps/sg3_utils
parentMarking dhcp-3.1.1 ppc for bug 227135 (diff)
downloadhistorical-c065ccaf7261575b164c41ab2a5fa12875c0b59c.tar.gz
historical-c065ccaf7261575b164c41ab2a5fa12875c0b59c.tar.bz2
historical-c065ccaf7261575b164c41ab2a5fa12875c0b59c.zip
Bug #229653, fix need for stdint.h headers thanks to Ed Catmur <ed@catmur.co.uk>.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.26-rc4-00103-g1beee8d x86_64
Diffstat (limited to 'sys-apps/sg3_utils')
-rw-r--r--sys-apps/sg3_utils/ChangeLog9
-rw-r--r--sys-apps/sg3_utils/Manifest4
-rw-r--r--sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch31
-rw-r--r--sys-apps/sg3_utils/sg3_utils-1.26-r1.ebuild31
4 files changed, 73 insertions, 2 deletions
diff --git a/sys-apps/sg3_utils/ChangeLog b/sys-apps/sg3_utils/ChangeLog
index a62fd4bdd2d5..577d05f51f76 100644
--- a/sys-apps/sg3_utils/ChangeLog
+++ b/sys-apps/sg3_utils/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/sg3_utils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sg3_utils/ChangeLog,v 1.42 2008/06/25 17:33:58 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sg3_utils/ChangeLog,v 1.43 2008/06/27 14:38:10 robbat2 Exp $
+
+*sg3_utils-1.26-r1 (27 Jun 2008)
+
+ 27 Jun 2008; Robin H. Johnson <robbat2@gentoo.org>
+ +files/sg3_utils-1.26-stdint.patch, +sg3_utils-1.26-r1.ebuild:
+ Bug #229653, fix need for stdint.h headers thanks to Ed Catmur
+ <ed@catmur.co.uk>.
*sg3_utils-1.26 (25 Jun 2008)
diff --git a/sys-apps/sg3_utils/Manifest b/sys-apps/sg3_utils/Manifest
index b8238c172c18..72e9cda2b656 100644
--- a/sys-apps/sg3_utils/Manifest
+++ b/sys-apps/sg3_utils/Manifest
@@ -1,3 +1,4 @@
+AUX sg3_utils-1.26-stdint.patch 758 RMD160 55dbf263403dbb7d19ff21e7d9ec409c54992f61 SHA1 e618e9a6da86d1306bc9dc7bd3f8113114b768a6 SHA256 4167dc24b3f7e9143709710e01fc10a9be902734fd6b7e5b118414b177c776e5
AUX sg3_utils-llseek.patch 1948 RMD160 66f3516204a991376c19f57a322731c8d05eb23d SHA1 5a8056e81013a62dad55c0be10deed4965048fd0 SHA256 626c06bd57765e1a6772b0d05736f4542f1fa0f8a476bced614a11065758a057
DIST rescan-scsi-bus.sh 5884 RMD160 3ca6340b1299fe15fa96484d6db5ea0232292aba SHA1 b7e9f35aede9364b661737ece61e702e67239d0e SHA256 14bb8550a240f5eea8047a449dc8f3c33544f45ecc83c6cbcaf7c7ff5c1227d1
DIST sg3_utils-1.11.tgz 311124 RMD160 45c8fef1f3698948c6b25069ab4a3782fd94867d SHA1 e1ec4c1832422f3afc0aa0e877f8a4d2f3ad361b SHA256 bff5846bb30e6d24a81d42e4d81a72cc62461cce573bbefeb54078dccbf714da
@@ -13,6 +14,7 @@ EBUILD sg3_utils-1.22.ebuild 1379 RMD160 2ee8915e6b19b4e3cbfb2296401f73534d1fb38
EBUILD sg3_utils-1.23.ebuild 1338 RMD160 dc93b3b6c581f02ca5615bb853b4863040e645b3 SHA1 9da9f8559101aa8003b5c202ad957fbbedae3019 SHA256 b71482e8310740f57f627a6be4fe875812259f2578a6998ddd4c168e9643390f
EBUILD sg3_utils-1.24.ebuild 1218 RMD160 f8798ced03ee3427e21904508066ed3984bfc884 SHA1 5fc3336d32264b53046cb03e568e2fca8e5b7916 SHA256 4d53c96fa8c34683c631354f5efff063ceb1044a88b5ae48e8592314dfcace23
EBUILD sg3_utils-1.25.ebuild 785 RMD160 ab9d3eed1e42beaa0ba7182a44dea88812838b89 SHA1 23ffd4cc128cab95da89d96dc48367443fa7e594 SHA256 a0e7a4eff2db999f6a058765d40749ff07b47c8f20c57dec189ea0397638268f
+EBUILD sg3_utils-1.26-r1.ebuild 881 RMD160 ed149b8089343f25f437761b41eb3f747bb8475c SHA1 bf75fa6087dc488fb31f74676a75bec29e963085 SHA256 07ca4a06ecee6a62c2008f4b7bb8d2945c24244540e753dc80265d14dd081e51
EBUILD sg3_utils-1.26.ebuild 790 RMD160 dc364514cbff93de44fc5c56e95925d3604f3f94 SHA1 3163ef334c6246f2ba6afeca02ee4a61f402cd39 SHA256 c5d2277008d65190f856ea8f35a7d778ded321ed52c0003f03e5b36fee397769
-MISC ChangeLog 5434 RMD160 d5529c40f3b0e5e6f76e78ba331a3e7a63f83821 SHA1 d446c7cb030cea5affe6ca588e01ae7177f1ecfc SHA256 ec9df9e80c294e357ec152bc12fec1a44e8bbb548e17b214dc9af2ca53b5bcfa
+MISC ChangeLog 5673 RMD160 9654771586d687888c97fa291f51ed02e03cbd4b SHA1 0f8dddce23898a226f9c41650a93ffe18bfdd06d SHA256 d249a886f7cb527721907c548f38a9f0b04092b55c775d87f35f87c4aacd7bca
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
diff --git a/sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch b/sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch
new file mode 100644
index 000000000000..a82ab6add9a4
--- /dev/null
+++ b/sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch
@@ -0,0 +1,31 @@
+From: Ed Catmur <ed@catmur.co.uk>
+Gentoo-Bug: 229653
+X-Gentoo-URL: http://bugs.gentoo.org/show_bug.cgi?id=229653
+X-Gentoo-URL: http://bugs.gentoo.org/attachment.cgi?id=158565&action=view
+Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+For uint64_t to be available, <stdint.h> must be included:
+http://www.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html
+
+--- include/sg_cmds_basic.h 2008/06/26 23:27:40 1.1
++++ include/sg_cmds_basic.h 2008/06/26 23:28:06
+@@ -30,6 +30,8 @@
+ *
+ */
+
++#include <stdint.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+--- include/sg_cmds_extra.h 2008/06/26 23:27:40 1.1
++++ include/sg_cmds_extra.h 2008/06/26 23:29:02
+@@ -30,6 +30,8 @@
+ *
+ */
+
++#include <stdint.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
diff --git a/sys-apps/sg3_utils/sg3_utils-1.26-r1.ebuild b/sys-apps/sg3_utils/sg3_utils-1.26-r1.ebuild
new file mode 100644
index 000000000000..e864a089c7b5
--- /dev/null
+++ b/sys-apps/sg3_utils/sg3_utils-1.26-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sg3_utils/sg3_utils-1.26-r1.ebuild,v 1.1 2008/06/27 14:38:10 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="Apps for querying the sg SCSI interface"
+HOMEPAGE="http://www.torque.net/sg/"
+SRC_URI="http://www.torque.net/sg/p/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+DEPEND="sys-devel/libtool"
+RDEPEND="sys-apps/sdparm"
+PDEPEND=">=sys-apps/rescan-scsi-bus-1.24"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.26-stdint.patch
+}
+
+src_install() {
+ dodoc ChangeLog AUTHORS COVERAGE CREDITS README*
+ dodoc doc/README.doc examples/*.txt
+ newdoc scripts/README README.scripts
+ make install DESTDIR="${D}" || die "make install failed"
+ dosbin scripts/{scsi,sas}*
+}