First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 169219
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dosbox-alsa-midi.patch alsa-lib midi check patch patch Diego Pettenò 2007-03-04 01:45 0000 574 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 169219 depends on: Show dependency tree
Show dependency graph
Bug 169219 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-04 01:45 0000
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 From Diego Pettenò 2007-03-04 01:45:38 0000 -------
Created an attachment (id=112005) [edit]
alsa-lib midi check patch

------- Comment #2 From Mr. Bones. 2007-03-04 02:19:08 0000 -------
in portage.  thanks for the bug report and patch.

First Last Prev Next    No search results available      Search page      Enter new bug