Snes9x-GTK auto-detects the presence of ALSA and fails to build if audio/alsa-lib is installed. ===> Building for snes9x-gtk-1.52r79_2 Making all in data gmake[1]: Entering directory `/usr/ports/emulators/snes9x-gtk/work/snes9x-1.52-src/gtk/data' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/emulators/snes9x-gtk/work/snes9x-1.52-src/gtk/data' Making all in po gmake[1]: Entering directory `/usr/ports/emulators/snes9x-gtk/work/snes9x-1.52-src/gtk/po' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/emulators/snes9x-gtk/work/snes9x-1.52-src/gtk/po' gmake[1]: Entering directory `/usr/ports/emulators/snes9x-gtk/work/snes9x-1.52-src/gtk' CXX src/snes9x_gtk-gtk_sound.o In file included from /usr/local/include/alsa/asoundlib.h:51, from src/gtk_sound_driver_alsa.h:6, from src/gtk_sound.cpp:18: /usr/local/include/alsa/error.h:64:16: warning: anonymous variadic macros were introduced in C99 /usr/local/include/alsa/error.h:65:16: warning: anonymous variadic macros were introduced in C99 In file included from /usr/local/include/alsa/asoundlib.h:52, from src/gtk_sound_driver_alsa.h:6, from src/gtk_sound.cpp:18: /usr/local/include/alsa/conf.h:126: error: ISO C++ does not support 'long long' /usr/local/include/alsa/conf.h:135: error: ISO C++ does not support 'long long' /usr/local/include/alsa/conf.h:142: error: ISO C++ does not support 'long long' In file included from /usr/local/include/alsa/asoundlib.h:85, from src/gtk_sound_driver_alsa.h:6, from src/gtk_sound.cpp:18: /usr/local/include/alsa/control.h:387: error: ISO C++ does not support 'long long' /usr/local/include/alsa/control.h:388: error: ISO C++ does not support 'long long' /usr/local/include/alsa/control.h:389: error: ISO C++ does not support 'long long' /usr/local/include/alsa/control.h:411: error: ISO C++ does not support 'long long' /usr/local/include/alsa/control.h:411: error: ISO C++ does not support 'long long' /usr/local/include/alsa/control.h:411: error: ISO C++ does not support 'long long' /usr/local/include/alsa/control.h:443: error: ISO C++ does not support 'long long' /usr/local/include/alsa/control.h:448: error: ISO C++ does not support 'long long' In file included from /usr/local/include/alsa/asoundlib.h:86, from src/gtk_sound_driver_alsa.h:6, from src/gtk_sound.cpp:18: /usr/local/include/alsa/mixer.h:201: error: comma at end of enumerator list src/gtk_sound.cpp: In function 'void S9xPortSoundInit()': src/gtk_sound.cpp:61: warning: unused variable 'pao_driver' gmake[1]: *** [src/snes9x_gtk-gtk_sound.o] Error 1 gmake[1]: Leaving directory `/usr/ports/emulators/snes9x-gtk/work/snes9x-1.52-src/gtk' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/emulators/snes9x-gtk. *** Error code 1 Stop in /usr/ports/emulators/snes9x-gtk. Fix: Explicitly disable ALSA. Patch attached. Patch attached with submission follows:
makc 2010-11-23 10:10:47 UTC FreeBSD ports repository Modified files: emulators/snes9x-gtk Makefile distinfo Log: Disable ALSA support explicitly to fix build when ALSA compat port is installed PR: ports/152503 Submitted by: Nicole Reid (maintainer) Revision Changes Path 1.7 +1 -0 ports/emulators/snes9x-gtk/Makefile 1.3 +0 -1 ports/emulators/snes9x-gtk/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!