pkgsrc/sysutils/hal/patches/patch-ax
macallan 9a8eae61e2 make this work on non-x86
OKed long, long ago by jmcneill
2010-01-26 01:12:02 +00:00

20 lines
538 B
Text

$NetBSD: patch-ax,v 1.1 2010/01/26 01:12:02 macallan Exp $
--- hald/device_info.c.orig 2010-01-24 19:45:40.000000000 -0500
+++ hald/device_info.c
@@ -1083,8 +1083,15 @@ rules_match_and_merge_device (void *fdi_
/*HAL_INFO(("no match, skip to rule (%llx)", rule->jump_position));*/
rule = di_jump(rule);
+#if 0
+ /*
+ * XXX
+ * this fires when a node has a single child
+ * which happens on some non-x86 machines
+ */
if(rule == NULL)
DIE(("Rule is NULL on jump"));
+#endif
continue;
}