First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 171942
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:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
games-emulation:dosbox-0.70:20070323-171530.log dosbox build log text/plain Diego Pettenò 2007-03-23 17:23 0000 299.99 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 171942 depends on: Show dependency tree
Show dependency graph
Bug 171942 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-23 17:22 0000
Just had time to check on it (I removed it when it failed without midi support
enabled, now I tried installing it on another box), with USE=-alsa dosbox
doesn't actually disable ALSA support, see the attached log, and note this:

checking for ALSA CFLAGS...  -Ino
checking for ALSA LDFLAGS...  -Lno -lasound -lm -ldl -lpthread

HTH,
Diego

------- Comment #1 From Diego Pettenò 2007-03-23 17:23:19 0000 -------
Created an attachment (id=114155) [edit]
dosbox build log

------- Comment #2 From ebfe 2007-03-23 20:50:17 0000 -------
diego is right, dosbox always binds to alsa if it finds it.

may it be a solution to patch config.in and run autoconf again?

-AM_PATH_ALSA(0.9.0, AC_DEFINE(HAVE_ALSA,1,[Define to 1 to use ALSA for MIDI])
, : )
+AC_ARG_ENABLE(alsa,AC_HELP_STRING([--enable-alsa],[Enable ALSA for MIDI]),[
+       AM_PATH_ALSA(0.9.0, AC_DEFINE(HAVE_ALSA,1,[Define to 1 to use ALSA for
MIDI]) , : )
+])

------- Comment #3 From Mr. Bones. 2007-03-26 08:27:59 0000 -------
hmmmm, nope, not good enough.  Still pulls in alsa even with this patch and
--disable-alsa

------- Comment #4 From Diego Pettenò 2007-03-26 08:42:01 0000 -------
You misunderstood the parameters of AC_ARG_ENABLE, see [1], third last
parameter.Also see [2] for other example on how to fix this kind of dependency.

[1] http://www.gentoo.org/doc/en/articles/autotools-practices.xml
[2] http://www.gentoo.org/proj/en/qa/automagic.xml

------- Comment #5 From Mr. Bones. 2007-04-09 19:06:30 0000 -------
the next release of dosbox will have the autotool stuff fixed up.  Forced alsa
on for now.

------- Comment #6 From Jakub Moc 2007-04-10 07:58:46 0000 -------
*** Bug 173996 has been marked as a duplicate of this bug. ***

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