[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Build failure because of the potential use of ca_content
From: |
Michael Petch |
Subject: |
Re: [Bug-gnubg] Build failure because of the potential use of ca_content without inclusion of canberra.h at sound.c |
Date: |
Wed, 25 Jun 2014 08:52:32 -0600 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 2014-06-23 11:00 PM, Daisuke Takahashi wrote:
> Dear all,
>
> At sound.c, canberra.h and canberra-gtk.h are included only when no other
> options are available (sound.c:341-344), but ca_context is used always when
> canberra is available (sound.c:397). As a consequence, the compilation of the
> sound.c fails under an Mac OS X machine with canberra installed (e.g., by
> macports or other utilities).
>
> Below patch moves the declaration of canberracontext into the latter ifdef
> block.
> Thank you very much.
>
Thanks for the bug report and the patch. I will commit the patch once I
have a chance to review it more thoroughly.
--
Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304