summaryrefslogtreecommitdiffstats
path: root/sysutils/hal/files/patch-hald_freebsd_hf-computer.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-07-19 09:59:33 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-07-19 09:59:33 +0800
commitedd0a975057e0c73ab8d6c31c56d91d587da53bb (patch)
tree2e56e94d226af8f1c49cf556a0cd6a1fda3636b8 /sysutils/hal/files/patch-hald_freebsd_hf-computer.c
parent531ad4a3d54382c4ad99e7b272c121579fbd1ff5 (diff)
downloadmarcuscom-ports-edd0a975057e0c73ab8d6c31c56d91d587da53bb.tar
marcuscom-ports-edd0a975057e0c73ab8d6c31c56d91d587da53bb.tar.gz
marcuscom-ports-edd0a975057e0c73ab8d6c31c56d91d587da53bb.tar.bz2
marcuscom-ports-edd0a975057e0c73ab8d6c31c56d91d587da53bb.tar.lz
marcuscom-ports-edd0a975057e0c73ab8d6c31c56d91d587da53bb.tar.xz
marcuscom-ports-edd0a975057e0c73ab8d6c31c56d91d587da53bb.tar.zst
marcuscom-ports-edd0a975057e0c73ab8d6c31c56d91d587da53bb.zip
* Update to 0.5.13.
* Add support for ufsids in an attempt to prevent duplicate file system mounting git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12460 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/hal/files/patch-hald_freebsd_hf-computer.c')
-rw-r--r--sysutils/hal/files/patch-hald_freebsd_hf-computer.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/hal/files/patch-hald_freebsd_hf-computer.c b/sysutils/hal/files/patch-hald_freebsd_hf-computer.c
new file mode 100644
index 000000000..e2921c58a
--- /dev/null
+++ b/sysutils/hal/files/patch-hald_freebsd_hf-computer.c
@@ -0,0 +1,26 @@
+--- hald/freebsd/hf-computer.c.orig 2009-07-18 21:22:48.000000000 -0400
++++ hald/freebsd/hf-computer.c 2009-07-18 21:23:51.000000000 -0400
+@@ -26,6 +26,7 @@
+ # include <config.h>
+ #endif
+
++#include <stdio.h>
+ #include <string.h>
+ #include <sys/utsname.h>
+
+@@ -133,11 +134,11 @@ hf_computer_device_add (void)
+ if (PACKAGE_VERSION) {
+ int major, minor, micro;
+
+- hal_device_property_set_string (root, "org.freedesktop.Hal.version", PACKAGE_VERSION);
++ hal_device_property_set_string (device, "org.freedesktop.Hal.version", PACKAGE_VERSION);
+ if ( sscanf( PACKAGE_VERSION, "%d.%d.%d", &major, &minor, &micro ) == 3 ) {
+- hal_device_property_set_int (root, "org.freedesktop.Hal.version.major", major);
+- hal_device_property_set_int (root, "org.freedesktop.Hal.version.minor", minor);
+- hal_device_property_set_int (root, "org.freedesktop.Hal.version.micro", micro);
++ hal_device_property_set_int (device, "org.freedesktop.Hal.version.major", major);
++ hal_device_property_set_int (device, "org.freedesktop.Hal.version.minor", minor);
++ hal_device_property_set_int (device, "org.freedesktop.Hal.version.micro", micro);
+ }
+ }
+