summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-19 04:05:55 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-19 04:05:55 +0800
commit29e64ec2fc02f43b7fa314774311774ec6022ee6 (patch)
treef4fcbae4617e401492d103bb4cffa670badd44f7 /sysutils
parent3708ed35b11ace882caafec894f94aec36f2fcc3 (diff)
downloadmarcuscom-ports-29e64ec2fc02f43b7fa314774311774ec6022ee6.tar
marcuscom-ports-29e64ec2fc02f43b7fa314774311774ec6022ee6.tar.gz
marcuscom-ports-29e64ec2fc02f43b7fa314774311774ec6022ee6.tar.bz2
marcuscom-ports-29e64ec2fc02f43b7fa314774311774ec6022ee6.tar.lz
marcuscom-ports-29e64ec2fc02f43b7fa314774311774ec6022ee6.tar.xz
marcuscom-ports-29e64ec2fc02f43b7fa314774311774ec6022ee6.tar.zst
marcuscom-ports-29e64ec2fc02f43b7fa314774311774ec6022ee6.zip
Add the block device before probing it so that the block device is present
in the GDL before any volumes are added. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10776 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hal/Makefile4
-rw-r--r--sysutils/hal/files/patch-hald_freebsd_hf-scsi.c12
2 files changed, 14 insertions, 2 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index e7ac488ed..7374b3cc7 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -3,12 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/hal/Makefile,v 1.40 2008/03/17 22:24:44 marcus Exp $
+# $MCom: ports/sysutils/hal/Makefile,v 1.41 2008/03/18 07:39:54 marcus Exp $
#
PORTNAME= hal
DISTVERSION= 0.5.11rc2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://hal.freedesktop.org/releases/
diff --git a/sysutils/hal/files/patch-hald_freebsd_hf-scsi.c b/sysutils/hal/files/patch-hald_freebsd_hf-scsi.c
new file mode 100644
index 000000000..598ac6283
--- /dev/null
+++ b/sysutils/hal/files/patch-hald_freebsd_hf-scsi.c
@@ -0,0 +1,12 @@
+--- hald/freebsd/hf-scsi.c.orig 2008-03-18 15:58:59.000000000 -0400
++++ hald/freebsd/hf-scsi.c 2008-03-18 15:57:36.000000000 -0400
+@@ -409,8 +409,8 @@ hf_scsi_handle_pending_device (struct de
+ */
+ hf_block_device_complete(block_device, block_device, FALSE);
+
+- hf_storage_device_probe(block_device, FALSE);
+ hf_device_add(block_device);
++ hf_storage_device_probe(block_device, FALSE);
+ }
+ }
+ }