Package: mozilla-browser
Version: 1.7.5-1

The sound system detection in the mozilla wrapper script is
broken: it tests for the existence of /dev/dsp using '-f', which
is meant for regular files. The result is no wrapper is used when
MOZILLA_DSP is 'auto', and sound doesn't work. This fixes the
problem and at least the right sound wrapper is selected before
execing the mozilla binary (although some other problem seems
to preclude sound when using flash+esd):

------------------------------------------------------------------
--- /usr/bin/mozilla-1.7.5.OLD  2005-01-05 01:18:23.000000000 -0800
+++ /usr/bin/mozilla-1.7.5      2005-01-20 15:51:34.000000000 -0800
@@ -64,7 +64,7 @@
     MOZILLA_LOCALE_AUTO="true"
 fi

-if [ "$MOZILLA_DSP" = "auto" -a -f /dev/dsp ]; then
+if [ "$MOZILLA_DSP" = "auto" -a -e /dev/dsp ]; then
        MOZILLA_DSP=""
        P=`fuser /dev/dsp 2>&1 | sed -e 's#^/dev/dsp:##' `
        if [ -n "$P" ]; then
------------------------------------------------------------------

--
Álvaro Martínez Echevarría

``Pero yo que he sentido una vez en mis manos temblar
la alegría / ya no podré morir nunca. / Pero yo que he
tocado una vez las agudas agujas del pino / ya no podré
morir nunca''. [José Hierro, "El muerto"]

Reply via email to