summaryrefslogtreecommitdiffstats
path: root/extra/lshw/lshw-gcc-4.5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lshw/lshw-gcc-4.5.patch')
-rw-r--r--extra/lshw/lshw-gcc-4.5.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/lshw/lshw-gcc-4.5.patch b/extra/lshw/lshw-gcc-4.5.patch
new file mode 100644
index 000000000..58b53a29b
--- /dev/null
+++ b/extra/lshw/lshw-gcc-4.5.patch
@@ -0,0 +1,11 @@
+--- lshw-B.02.13-original/src/core/scsi.cc 2008-05-09 22:32:50.000000000 +0200
++++ lshw-B.02.13/src/core/scsi.cc 2010-05-19 16:58:50.000000000 +0200
+@@ -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));