packages: lshw/lshw-constructor.patch (NEW) - fix build

shadzik shadzik at pld-linux.org
Sat Jun 5 23:08:41 CEST 2010


Author: shadzik                      Date: Sat Jun  5 21:08:41 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build

---- Files affected:
packages/lshw:
   lshw-constructor.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lshw/lshw-constructor.patch
diff -u /dev/null packages/lshw/lshw-constructor.patch:1.1
--- /dev/null	Sat Jun  5 23:08:41 2010
+++ packages/lshw/lshw-constructor.patch	Sat Jun  5 23:08:35 2010
@@ -0,0 +1,11 @@
+--- src/core/scsi.cc.orig	2009-02-12 23:53:09.000000000 +0100
++++ src/core/scsi.cc	2010-06-05 23:04:35.196166002 +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));
================================================================


More information about the pld-cvs-commit mailing list