Source: lxpanel
Version: 0.9.0-1
Severity: important
Tags: patch
Control: forwarded -1 https://sourceforge.net/p/lxde/patches/537/

Hi,

lxpanel 0.9.0 fails to compile on kFreeBSD[1][2] and Hurd[3].

The issue is mostly upstream, which I just reported [4] (a copy of the
patch is attached for reference).
An additional change for the Debian packaging is making sure that ALSA
is always disabled for non-Linux architectures (so alternative
implementations of libasound2 are not used, since not complete enough).

[1] 
https://buildd.debian.org/status/fetch.php?pkg=lxpanel&arch=kfreebsd-amd64&ver=0.9.0-1&stamp=1479593591
[2] 
https://buildd.debian.org/status/fetch.php?pkg=lxpanel&arch=kfreebsd-i386&ver=0.9.0-1&stamp=1479594452
[3] 
https://buildd.debian.org/status/fetch.php?pkg=lxpanel&arch=hurd-i386&ver=0.9.0-1&stamp=1479593695
[4] https://sourceforge.net/p/lxde/patches/537/

Thanks,
-- 
Pino
--- a/plugins/volumealsa/volumealsa.c
+++ b/plugins/volumealsa/volumealsa.c
@@ -1333,8 +1333,8 @@ static GtkWidget *volumealsa_configure(L
     GtkTreeIter iter;
     int active = 0;
     int i = 0;
-#ifndef DISABLE_ALSA
     int j = -1;
+#ifndef DISABLE_ALSA
 
     snd_mixer_selem_id_alloca(&sid);
     /* setup card selector */
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ ifeq ($(DEB_HOST_ARCH_OS),linux)
 	dh_auto_configure -- --with-plugins=all --disable-silent-rules
 else
 	# omit netstat plugin on non-linux, requires wireless-tools
-	dh_auto_configure -- --with-plugins=all,-netstat --disable-silent-rules
+	dh_auto_configure -- --with-plugins=all,-netstat --disable-silent-rules --disable-alsa
 endif
 
 override_dh_strip:

Reply via email to