diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2009-01-18 13:53:33 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2009-01-18 13:53:33 +0000 |
commit | c141e84fba12aa9fb289f9950ac360a89ddb0899 (patch) | |
tree | 34c0273e75ebe07c516d0679bb96d8410d341c50 /sysutils/hal | |
parent | 8a6dad4affe8d6780d8520deb0051736ccf4c56f (diff) | |
download | pkgsrc-c141e84fba12aa9fb289f9950ac360a89ddb0899.tar.gz |
Optical media handling needs block.storage_device too; add this to
improve KDE4 compatibility. Bump PKGREVISION.
Diffstat (limited to 'sysutils/hal')
-rw-r--r-- | sysutils/hal/Makefile | 4 | ||||
-rw-r--r-- | sysutils/hal/files/hald-netbsd/devinfo_optical.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile index 52afa33851f..8e4ca55e53a 100644 --- a/sysutils/hal/Makefile +++ b/sysutils/hal/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.30 2008/12/28 12:43:27 jmcneill Exp $ +# $NetBSD: Makefile,v 1.31 2009/01/18 13:53:33 jmcneill Exp $ # DISTNAME= hal-0.5.11 -PKGREVISION= 18 +PKGREVISION= 19 CATEGORIES= sysutils MASTER_SITES= http://hal.freedesktop.org/releases/ EXTRACT_SUFX= .tar.bz2 diff --git a/sysutils/hal/files/hald-netbsd/devinfo_optical.c b/sysutils/hal/files/hald-netbsd/devinfo_optical.c index 26a9ec81309..53abb029060 100644 --- a/sysutils/hal/files/hald-netbsd/devinfo_optical.c +++ b/sysutils/hal/files/hald-netbsd/devinfo_optical.c @@ -376,6 +376,8 @@ devinfo_optical_volume_add(HalDevice *parent, const char *devnode, char *devfs_p hal_device_property_set_bool (d, "block.is_volume", TRUE); hal_device_property_set_bool (d, "block.no_partitions", TRUE); hal_device_property_set_bool (d, "block.have_scanned", TRUE); + hal_device_property_set_string (d, "block.storage_device", + hal_device_property_get_string (parent, "info.udi")); /* volume */ hal_device_property_set_bool (d, "volume.ignore", FALSE); |