The current code in subversion will fail to compile due to a undefined
variable. The attached patch partially reverts a recent commit that
removed the variable.
Thanks.
Peter
Index: src/modules/module-hal-detect.c
===================================================================
--- src/modules/module-hal-detect.c (revision 1437)
+++ src/modules/module-hal-detect.c (working copy)
@@ -488,6 +488,7 @@
}
int pa__init(pa_core *c, pa_module*m) {
+ int n = 0;
DBusError error;
pa_dbus_connection *conn;
struct userdata *u = NULL;
@@ -518,10 +519,10 @@
m->userdata = (void*) u;
#ifdef HAVE_ALSA
- hal_device_add_all(u, CAP_ALSA);
+ n += hal_device_add_all(u, CAP_ALSA);
#endif
#ifdef HAVE_OSS
- hal_device_add_all(u, CAP_OSS);
+ n += hal_device_add_all(u, CAP_OSS);
#endif
libhal_ctx_set_user_data(hal_ctx, (void*) u);
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss