ports/152503: Maintainer update: emulators/snes9x-gtk fix build with ALSA
Nicole Reid
root at cooltrainer.org
Tue Nov 23 02:50:09 UTC 2010
>Number: 152503
>Category: ports
>Synopsis: Maintainer update: emulators/snes9x-gtk fix build with ALSA
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 23 02:50:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Nicole Reid
>Release: 8.1
>Organization:
>Environment:
>Description:
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.
>How-To-Repeat:
>Fix:
Explicitly disable ALSA. Patch attached.
Patch attached with submission follows:
diff -ruN snes9x-gtk.bak/Makefile snes9x-gtk/Makefile
--- snes9x-gtk.bak/Makefile 2010-11-22 21:08:16.047693584 -0500
+++ snes9x-gtk/Makefile 2010-11-22 21:20:23.921664600 -0500
@@ -28,6 +28,7 @@
USE_SDL= sdl
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+= --without-alsa
WRKSRC= ${WRKDIR}/${DISTNAME}/gtk
diff -ruN snes9x-gtk.bak/distinfo snes9x-gtk/distinfo
--- snes9x-gtk.bak/distinfo 2010-11-22 21:08:16.047693584 -0500
+++ snes9x-gtk/distinfo 2010-11-22 21:19:36.594813620 -0500
@@ -1,3 +1,2 @@
-MD5 (snes9x-1.52-src.tar.bz2) = 813bd3a0f99732ee0238a2c8ab417725
SHA256 (snes9x-1.52-src.tar.bz2) = 36e09b2da62b9210feb224cfd183047a151a71c1d5e5f92749dc28bd4b7ff1cb
SIZE (snes9x-1.52-src.tar.bz2) = 1720137
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list