diff --git a/wesnoth-1.3.16-remove-ogg-test.patch b/wesnoth-1.3.16-remove-ogg-test.patch index 2d69cd9..55792bf 100644 --- a/wesnoth-1.3.16-remove-ogg-test.patch +++ b/wesnoth-1.3.16-remove-ogg-test.patch @@ -1,26 +1,20 @@ ---- configure.ac 2008-02-22 14:10:36.000000000 -0600 -+++ configure.ac 2008-02-22 14:10:36.000000000 -0600 -@@ -890,23 +890,6 @@ - LIBS="$LIBS $SDL_LIBS $SDL_MIXER_LIBS" - - ac_link="$LDPREFIX $ac_link" -- AC_RUN_IFELSE([AC_LANG_SOURCE([ -- #include -- #include +--- configure.ac~ 2009-02-02 13:31:10.000000000 -0600 ++++ configure.ac 2009-02-02 13:31:10.000000000 -0600 +@@ -877,17 +876,0 @@ +- AC_RUN_IFELSE([AC_LANG_SOURCE([ +- #include +- #include - -- int main(int argc, char **argv) -- { -- Mix_Music* music = Mix_LoadMUS("data/core/music/main_menu.ogg"); -- if (music == NULL) -- exit(1); -- exit(0); -- } -- ])], -- [AC_MSG_RESULT(yes)], -- [AC_MSG_RESULT(no)] -- [AC_MSG_ERROR([*** SDL_mixer has no OGG support! You need SDL_mixer with OGG support])], -- [AC_MSG_RESULT([not tested in cross-compiling])]) +- int main(int argc, char **argv) +- { +- Mix_Music* music = Mix_LoadMUS("data/core/music/main_menu.ogg"); +- if (music == NULL) +- exit(1); +- exit(0); +- } +- ])], +- [AC_MSG_RESULT(yes)], +- [AC_MSG_RESULT(no)] +- [AC_MSG_ERROR([*** SDL_mixer has no OGG support! You need SDL_mixer with OGG support])], +- [AC_MSG_RESULT([not tested in cross-compiling])]) - - - CPPFLAGS=$OLD_CPPFLAGS - CFLAGS=$OLD_CFLAGS