Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169219 - >=games-emulation/dosbox-0.65 should check for midi useflag on alsa-lib
Summary: >=games-emulation/dosbox-0.65 should check for midi useflag on alsa-lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-04 01:45 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-03-04 02:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
alsa-lib midi check patch (dosbox-alsa-midi.patch,574 bytes, patch)
2007-03-04 01:45 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-03-04 01:45:18 UTC
As per summary.

The currently-masked alsa-lib version has a midi useflag that I introduced to reduce the size of the library itself. When this useflag is disabled (the default is enabled), the snd_seq_* functions won't be in the library. The snd_seq_* functions are needed by dosbox to be able to compile:

/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:48: undefined reference to `snd_seq_event_output'
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:50: undefined reference to `snd_seq_drain_output'
gui/libgui.a(midi.o): In function `MidiHandler_alsa::Close()':
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:122: undefined reference to `snd_seq_close'
gui/libgui.a(midi.o): In function `MidiHandler_alsa::Open(char const*)':
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:143: undefined reference to `snd_seq_open'
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:148: undefined reference to `snd_seq_client_id'
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:149: undefined reference to `snd_seq_set_client_name'
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:157: undefined reference to `snd_seq_create_simple_port'
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:166: undefined reference to `snd_seq_connect_to'
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:159: undefined reference to `snd_seq_close'
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:167: undefined reference to `snd_seq_close'
gui/libgui.a(midi.o): In function `MidiHandler_alsa::send_event(int)':
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:48: undefined reference to `snd_seq_event_output'
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:48: undefined reference to `snd_seq_event_output'
/var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:50: undefined reference to `snd_seq_drain_output'

I'm attaching an ebuild patch for 0.70 that adds the (almost standard now) check for the midi useflag on alsa-lib.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-03-04 01:45:38 UTC
Created attachment 112005 [details, diff]
alsa-lib midi check patch
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-03-04 02:19:08 UTC
in portage.  thanks for the bug report and patch.