tag 669447 + patch
thanks

On Thu, 19 Apr 2012 21:09:41 +0200, Lucas Nussbaum wrote:

> Relevant part:
> > g++ -std=gnu++0x -I. -g -O2 -fstack-protector --param=ssp-buffer-size=4 
> > -Wformat -Wformat-security -Werror=format-security -O1 -fthread-jumps 
> > -falign-functions -falign-jumps -falign-loops -falign-labels -fcaller-saves 
> > -fcrossjumping -fcse-follow-jumps -fcse-skip-blocks 
> > -fdelete-null-pointer-checks -fdevirtualize -fexpensive-optimizations 
> > -fgcse -fgcse-lm -finline-small-functions -findirect-inlining -fipa-sra 
> > -foptimize-sibling-calls -fpartial-inlining -fpeephole2 -fregmove 
> > -freorder-blocks -freorder-functions -frerun-cse-after-loop 
> > -fsched-interblock -fsched-spec -fschedule-insns -fschedule-insns2 
> > -fstrict-aliasing -fstrict-overflow -ftree-switch-conversion -ftree-pre 
> > -ftree-vrp -finline-functions -funswitch-loops -fpredictive-commoning 
> > -fgcse-after-reload -fipa-cp-clone -fomit-frame-pointer -D_FORTIFY_SOURCE=2 
> > -DPROFILE_COMPATIBILITY -DGAMEBOY -DVIDEO_GLX -DVIDEO_XV -DVIDEO_SDL 
> > -DAUDIO_OPENAL -DAUDIO_OSS -DAUDIO_PULSEAUDIO -DAUDIO_PULSEAUDIOSIMPLE 
> > -DAUDIO_AO -DINPUT_SDL -DINPUT_X -DAUDIO_ALSA -c ruby/ruby.cpp -o obj/ruby.o
> > In file included from ./ruby/ruby_impl.cpp:115:0,
> >                  from ruby/ruby.cpp:5:
> > ./ruby/audio/alsa.cpp:4:28: fatal error: alsa/asoundlib.h: No such file or 
> > directory
> > compilation terminated.
> > make[2]: *** [obj/ruby.o] Error 1

Find attached a patch that seems to fix this issue.

Cheers,
gregor, not uploading now since the bug is quite "young"

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Beatles
diff -Nru bsnes-0.087/debian/changelog bsnes-0.087/debian/changelog
--- bsnes-0.087/debian/changelog	2012-04-01 15:43:09.000000000 +0200
+++ bsnes-0.087/debian/changelog	2012-04-23 14:48:42.000000000 +0200
@@ -1,3 +1,13 @@
+bsnes (0.087-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: ./ruby/audio/alsa.cpp:4:28: fatal error:
+    alsa/asoundlib.h: No such file or directory":
+    build-depend on libasound2-dev (linux) or liboss4-salsa-dev (others)
+    (Closes: #669447)
+
+ -- gregor herrmann <gre...@debian.org>  Mon, 23 Apr 2012 14:33:12 +0200
+
 bsnes (0.087-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru bsnes-0.087/debian/control bsnes-0.087/debian/control
--- bsnes-0.087/debian/control	2012-03-01 23:45:26.000000000 +0100
+++ bsnes-0.087/debian/control	2012-04-23 14:45:43.000000000 +0200
@@ -10,7 +10,9 @@
                libopenal-dev,
                libao-dev,
                libxv-dev,
-               gcc (>= 4.6)
+               gcc (>= 4.6),
+               libasound2-dev [linux-any],
+               liboss4-salsa-dev [!linux-any]
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/git/pkg-games/bsnes.git
 Vcs-Browser: http://git.debian.org/?p=pkg-games/bsnes.git

Attachment: signature.asc
Description: Digital signature

Reply via email to