ports/sysutils/hal/files/patch-hald_freebsd_hf-drm.c
Koop Mast 0175115cb7 Make sure /var is populated correctly before hal is started, like dbus does
already in its rc.d script. [1]
Don't list entries twice, set some more details about storage devices like
the linux backend does. [2]

PR:		ports/171568 [1]
PR:		ports/171727 [2]
Submitted by:	Norbert Koch <nkoch@demig.de> [1], avilla@ [2]
Reviewed by:	marcus@
2012-09-29 18:17:59 +00:00

15 lines
520 B
C

--- hald/freebsd/hf-drm.c.orig 2008-08-10 15:50:10.000000000 +0200
+++ hald/freebsd/hf-drm.c 2012-09-27 12:04:28.000000000 +0200
@@ -234,6 +234,12 @@
{
HalDevice *parent = HAL_DEVICE(l->data);
+ if (hf_device_store_match(hald_get_gdl(),
+ "info.parent", HAL_PROPERTY_TYPE_STRING, hal_device_get_udi(parent),
+ "info.subsystem", HAL_PROPERTY_TYPE_STRING, "drm",
+ NULL))
+ continue;
+
if (! hal_device_property_get_bool(parent, "info.ignore"))
{
Card *card;