Bug 152503 - Maintainer update: emulators/snes9x-gtk fix build with ALSA
Summary: Maintainer update: emulators/snes9x-gtk fix build with ALSA
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 02:50 UTC by Allison Reid
Modified: 2010-11-23 10:20 UTC (History)
0 users

See Also:


Attachments
file.diff (770 bytes, patch)
2010-11-23 02:50 UTC, Allison Reid
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Allison Reid 2010-11-23 02:50:08 UTC
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:
Comment 1 dfilter service freebsd_committer freebsd_triage 2010-11-23 10:10:51 UTC
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"
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2010-11-23 10:10:53 UTC
State Changed
From-To: open->closed

Committed. Thanks!