diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2010-04-11 20:33:36 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2010-04-11 20:33:36 +0000 |
commit | b18202e30c00d324f223c3978327b833a2398ee5 (patch) | |
tree | 1c0cb6f8a6667120243a40a4972eb75ce3ea8d92 /sys-apps/lshw/files | |
parent | 2.3_pre1 version bump for bug 304861, thanks to hitachi <mail at konstantinha... (diff) | |
download | gentoo-2-b18202e30c00d324f223c3978327b833a2398ee5.tar.gz gentoo-2-b18202e30c00d324f223c3978327b833a2398ee5.tar.bz2 gentoo-2-b18202e30c00d324f223c3978327b833a2398ee5.zip |
Fix build w/ GCC 4.5. (bug #314201 by Bernd Buschinski)
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/lshw/files')
-rw-r--r-- | sys-apps/lshw/files/lshw-02.14b-gcc45.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/lshw/files/lshw-02.14b-gcc45.patch b/sys-apps/lshw/files/lshw-02.14b-gcc45.patch new file mode 100644 index 000000000000..c52b312f5906 --- /dev/null +++ b/sys-apps/lshw/files/lshw-02.14b-gcc45.patch @@ -0,0 +1,15 @@ +http://ezix.org/project/ticket/512 +http://ezix.org/project/changeset/2147 +http://bugs.gentoo.org/314201 + +--- src/core/scsi.cc ++++ src/core/scsi.cc +@@ -842,7 +842,7 @@ + + if (!controller) + { +- controller = node.addChild(hwNode::hwNode("scsi", hw::storage)); ++ controller = node.addChild(hwNode("scsi", hw::storage)); + if (controller) + { + controller->setLogicalName(host_logicalname(number)); |