diff options
Diffstat (limited to 'games-arcade/crack-attack/files/crack-attack-1.1.14-avoid_bashisms.patch')
-rw-r--r-- | games-arcade/crack-attack/files/crack-attack-1.1.14-avoid_bashisms.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games-arcade/crack-attack/files/crack-attack-1.1.14-avoid_bashisms.patch b/games-arcade/crack-attack/files/crack-attack-1.1.14-avoid_bashisms.patch new file mode 100644 index 000000000000..8f405710dae4 --- /dev/null +++ b/games-arcade/crack-attack/files/crack-attack-1.1.14-avoid_bashisms.patch @@ -0,0 +1,15 @@ +--- crack-attack-1.1.14/configure.ac ++++ crack-attack-1.1.14/configure.ac +@@ -75,10 +75,10 @@ + ],[found_sound=no] + ) + +- if test "$enable_sound" == "yes" -a "$found_sound" == "no"; then ++ if test "$enable_sound" = "yes" -a "$found_sound" = "no"; then + AC_MSG_ERROR(libSDL and SDL_mixer are required for sound) + fi +- if test "$found_sound" == "yes"; then ++ if test "$found_sound" = "yes"; then + AUDIO_CFLAGS="$SDL_CFLAGS" + AUDIO_LIBS="$SDL_LIBS -lSDL_mixer" + AC_DEFINE(AUDIO_ENABLED, 1, [Has audio support]) |