$OpenBSD: patch-gst-mixer_src_main_c,v 1.1 2009/01/25 18:56:21 ajacoutot Exp $ --- gst-mixer/src/main.c.orig Mon Sep 1 13:42:32 2008 +++ gst-mixer/src/main.c Sun Jan 25 14:02:02 2009 @@ -79,8 +79,13 @@ mixer_filter_func (GstMixer * mixer, gpointer user_dat *p_count += 1; +#ifdef __OpenBSD__ + title = g_strdup_printf (_("%d"), *p_count); + name = g_strdup_printf ("%s (%s)", long_name, title); +#else title = g_strdup_printf (_("Unknown Volume Control %d"), *p_count); name = g_strdup_printf ("%s (%s)", title, long_name); +#endif g_free (title); }