From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 23 02:50:09 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 326A71065674 for ; Tue, 23 Nov 2010 02:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E84518FC17 for ; Tue, 23 Nov 2010 02:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAN2o8q2027494 for ; Tue, 23 Nov 2010 02:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAN2o87K027493; Tue, 23 Nov 2010 02:50:08 GMT (envelope-from gnats) Resent-Date: Tue, 23 Nov 2010 02:50:08 GMT Resent-Message-Id: <201011230250.oAN2o87K027493@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nicole Reid Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D803106566B for ; Tue, 23 Nov 2010 02:40:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 604658FC08 for ; Tue, 23 Nov 2010 02:40:12 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oAN2eCkU063600 for ; Tue, 23 Nov 2010 02:40:12 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oAN2eCNJ063599; Tue, 23 Nov 2010 02:40:12 GMT (envelope-from nobody) Message-Id: <201011230240.oAN2eCNJ063599@red.freebsd.org> Date: Tue, 23 Nov 2010 02:40:12 GMT From: Nicole Reid To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/152503: Maintainer update: emulators/snes9x-gtk fix build with ALSA X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 02:50:09 -0000 >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: