diff -NurdB gnome-games-2.10.1/configure.in gnome-games-2.10.1-patched/configure.in --- gnome-games-2.10.1/configure.in 2005-04-12 10:25:33.000000000 +0000 +++ gnome-games-2.10.1-patched/configure.in 2005-09-06 22:48:34.031127752 +0000 @@ -107,7 +107,9 @@ GNOME_GAMES_CFLAGS="-std=gnu89 $GNOME_GAMES_CFLAGS" fi -PKG_CHECK_MODULES(ESD, esound, , [ CFLAGS="$CFLAGS -DNO_ESD" ]) +PKG_CHECK_MODULES(ESD, esound, , [ + CFLAGS="$CFLAGS -DNO_ESD" + CXXFLAGS="$CXXFLAGS -DNO_ESD" ]) AC_SUBST(ESD_CFLAGS) AC_SUBST(ESD_LIBS) diff -NurdB gnome-games-2.10.1/gnome-stones/sound.c gnome-games-2.10.1-patched/gnome-stones/sound.c --- gnome-games-2.10.1/gnome-stones/sound.c 2004-07-18 04:27:04.000000000 +0000 +++ gnome-games-2.10.1-patched/gnome-stones/sound.c 2005-09-06 22:47:23.730815024 +0000 @@ -20,7 +20,9 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include +#ifndef NO_ESD +# include +#endif #include #include "sound.h" diff -NurdB gnome-games-2.10.1/gnometris/sound.cpp gnome-games-2.10.1-patched/gnometris/sound.cpp --- gnome-games-2.10.1/gnometris/sound.cpp 2004-10-19 06:57:33.000000000 +0000 +++ gnome-games-2.10.1-patched/gnometris/sound.cpp 2005-09-06 22:47:23.731814872 +0000 @@ -21,7 +21,9 @@ */ #include -#include +#ifndef NO_ESD +# include +#endif #include "sound.h"