diff options
author | 2005-01-17 13:09:55 +0000 | |
---|---|---|
committer | 2005-01-17 13:09:55 +0000 | |
commit | e490307f8c8137d4edc6d5c77ff8f6d0cc81b80b (patch) | |
tree | fb696ec17cf4862338d221c6b2c130360ecfb0e9 /sys-apps/hal/files | |
parent | Stable on sparc (diff) | |
download | historical-e490307f8c8137d4edc6d5c77ff8f6d0cc81b80b.tar.gz historical-e490307f8c8137d4edc6d5c77ff8f6d0cc81b80b.tar.bz2 historical-e490307f8c8137d4edc6d5c77ff8f6d0cc81b80b.zip |
add patch to find gphoto2 usermap
Diffstat (limited to 'sys-apps/hal/files')
-rw-r--r-- | sys-apps/hal/files/digest-hal-0.4.5-r1 (renamed from sys-apps/hal/files/digest-hal-0.4.5) | 0 | ||||
-rw-r--r-- | sys-apps/hal/files/hal-0.4.5-gentoo_gphoto2_usermap.patch | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/hal/files/digest-hal-0.4.5 b/sys-apps/hal/files/digest-hal-0.4.5-r1 index c4ca2b2c74d4..c4ca2b2c74d4 100644 --- a/sys-apps/hal/files/digest-hal-0.4.5 +++ b/sys-apps/hal/files/digest-hal-0.4.5-r1 diff --git a/sys-apps/hal/files/hal-0.4.5-gentoo_gphoto2_usermap.patch b/sys-apps/hal/files/hal-0.4.5-gentoo_gphoto2_usermap.patch new file mode 100644 index 000000000000..a2dcaccdf362 --- /dev/null +++ b/sys-apps/hal/files/hal-0.4.5-gentoo_gphoto2_usermap.patch @@ -0,0 +1,12 @@ +diff -x '*~' -uNr hal-0.4.5/tools/linux/hal_hotplug_map.c hal-0.4.5.patched/tools/linux/hal_hotplug_map.c +--- hal-0.4.5/tools/linux/hal_hotplug_map.c 2004-09-27 16:52:11.000000000 +0200 ++++ hal-0.4.5.patched/tools/linux/hal_hotplug_map.c 2005-01-17 13:29:04.040385408 +0100 +@@ -19,7 +19,7 @@ + #define dbg(...) do {if (verbose) fprintf (stderr, __VA_ARGS__);} while (0) + + /* @todo FIXME HACK: it's a hack to hardcode this */ +-static const char *usbmapfiles[] = {"/etc/hotplug/usb.usermap", "/etc/hotplug/usb/libsane.usermap", "/etc/hotplug/usb/libgphoto2.usermap", NULL}; ++static const char *usbmapfiles[] = {"/etc/hotplug/usb.usermap", "/etc/hotplug/usb/libsane.usermap", "/etc/hotplug/usb/libgphoto2.usermap", "/etc/hotplug/usb/usbcam-gphoto2.usermap", NULL}; + + static int + handle_usb_found (const char *module) |