Source: alsaequal
Severity: normal
Tags: patch upstream

Dear Maintainer,

the $(LDFLAGS) in the Makefile, containing -lasound, should come after
the .o objects in the final linking to be sure it is linked against
the .so (the libasound is present in the ELF tables/things/whatever).

Actually, with my current version of Debian (testing), this is not a
problem, but for a popular 'derivative distribution', it is. When using
the equalizer with PulseAudio (my fingers almost burned while typing
this!), this beast cannot load the .so because it is not linked to
libasound.

So I don't know if it's the right place for a bug report, but I have to
do it somewhere. The upstream (www.thedigitalmachine.net) does not exist
anymore, and I don't feel like I want to be in more contact with the
'derivative distribution'.

The patch is very simple. Edit Makefile and put $(LDFLAGS) at the end
of the two lines where it is used.

I apalogize by advance if this is the wrong place to report the bug
(which is non-existing in my current Debian setup). But I struggled
a lot with it because of another bug in alsa-lib (they don't use
dlerror when loading a library so we don't see why it fails).

Anyway, there it is. Have a nice day!

By the way, it's all the fault of people from Mozilla who seem to have
decided that talking to ALSA was too... something, and now only use
the P..A.. beast (my fingers don't need more pain today). This world
is a strange place.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.5-custom (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

*** patch.txt
34c34
<       $(Q)$(LD) $(LDFLAGS) $(SND_PCM_LIBS) $(SND_PCM_OBJECTS) -o 
$(SND_PCM_BIN)
---
>       $(Q)$(LD) $(SND_PCM_LIBS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN) 
> $(LDFLAGS)
38c38
<       $(Q)$(LD) $(LDFLAGS) $(SND_CTL_LIBS) $(SND_CTL_OBJECTS) -o 
$(SND_CTL_BIN)
---
>       $(Q)$(LD) $(SND_CTL_LIBS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN) 
> $(LDFLAGS)

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to