From aa690a6de7e33b5456737b98abd512bb120f2f5e Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 25 May 2022 01:24:24 +0300
Subject: [PATCH] bump required SDL version to 2.0.9 -- needed for
SDL_HasColorKey
Reference issue: https://github.com/libsdl-org/SDL_image/issues/262
---
CMakeLists.txt | 2 +-
configure | 2 +-
configure.ac | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06ff6d3b..6b67c798 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
set(MAJOR_VERSION 2)
set(MINOR_VERSION 5)
set(MICRO_VERSION 0)
-set(SDL_REQUIRED_VERSION 2.0.8)
+set(SDL_REQUIRED_VERSION 2.0.9)
# For historical reasons this is 3.0.0 rather than the expected 1.0.0
set(DYLIB_COMPATIBILITY_VERSION "3.0.0")
diff --git a/configure b/configure
index 49e28457..9558b792 100755
--- a/configure
+++ b/configure
@@ -13015,7 +13015,7 @@ else
fi
-SDL_VERSION=2.0.8
+SDL_VERSION=2.0.9
# Check whether --with-sdl-prefix was given.
diff --git a/configure.ac b/configure.ac
index d76cdfef..1d638ff1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -258,7 +258,7 @@ AC_ARG_ENABLE([installed-tests],
[], [enable_installed_tests=no])
dnl Check for SDL
-SDL_VERSION=2.0.8
+SDL_VERSION=2.0.9
AC_SUBST(SDL_VERSION)
AM_PATH_SDL2($SDL_VERSION,
:,