From 2b38b378bb435204087f738c56524c5328f9534d Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 3 Apr 2026 17:18:01 -0700
Subject: [PATCH] Updated to version 2.32.66 for release
---
CMakeLists.txt | 2 +-
include/SDL2/SDL_version.h | 2 +-
src/Makefile.darwin | 2 +-
src/Makefile.linux | 2 +-
src/sdl2_compat.c | 2 +-
src/version.rc | 8 ++++----
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 527ae489..be96bf0e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@
# cmake -DSDL3_INCLUDE_DIRS=/opt/SDL3/include [other stuff ....]
cmake_minimum_required(VERSION 3.0...4.1)
-project(sdl2_compat VERSION 2.32.65 LANGUAGES C)
+project(sdl2_compat VERSION 2.32.66 LANGUAGES C)
if(POLICY CMP0074)
# CMP0074: find_package() uses <PackageName>_ROOT variables.
diff --git a/include/SDL2/SDL_version.h b/include/SDL2/SDL_version.h
index 7e024bf5..49ac390c 100644
--- a/include/SDL2/SDL_version.h
+++ b/include/SDL2/SDL_version.h
@@ -58,7 +58,7 @@ typedef struct SDL_version
*/
#define SDL_MAJOR_VERSION 2
#define SDL_MINOR_VERSION 32
-#define SDL_PATCHLEVEL 65
+#define SDL_PATCHLEVEL 66
/**
* Macro to determine SDL version program was compiled against.
diff --git a/src/Makefile.darwin b/src/Makefile.darwin
index a36f8beb..f7c49553 100644
--- a/src/Makefile.darwin
+++ b/src/Makefile.darwin
@@ -20,7 +20,7 @@ CFLAGS = -fPIC -fvisibility=hidden -O3 -Wall
LDFLAGS = -dynamiclib -Wl,-undefined,error -Wl,-single_module
#LDFLAGS+= -Wl,-headerpad_max_install_names
LDFLAGS+= -Wl,-install_name,"/usr/local/lib/$(DYLIB)"
-LDFLAGS+= -Wl,-compatibility_version,3201.0 -Wl,-current_version,3201.65
+LDFLAGS+= -Wl,-compatibility_version,3201.0 -Wl,-current_version,3201.66
LDLIBS = -Wl,-framework,AppKit
# this is needed for x86_64 - cross-gcc might not add it.
#LDLIBS += -Wl,-lbundle1.o
diff --git a/src/Makefile.linux b/src/Makefile.linux
index 13d27700..f141e137 100644
--- a/src/Makefile.linux
+++ b/src/Makefile.linux
@@ -13,7 +13,7 @@ LDFLAGS = -shared -Wl,-soname,libSDL2-2.0.so.0
LDFLAGS+= -Wl,--no-undefined
LDLIBS = -ldl
-SHLIB = libSDL2-2.0.so.0.3200.65
+SHLIB = libSDL2-2.0.so.0.3200.66
OBJ = sdl2_compat.o dynapi/SDL_dynapi.o
diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index 5802a0d4..503b0cb4 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -58,7 +58,7 @@ This breaks the build when creating SDL_ ## DisableScreenSaver
* The number might increment past 90 if there are a ton of releases.
*/
#define SDL2_COMPAT_VERSION_MINOR 32
-#define SDL2_COMPAT_VERSION_PATCH 65
+#define SDL2_COMPAT_VERSION_PATCH 66
#ifndef SDL2COMPAT_REVISION
#define SDL2COMPAT_REVISION "SDL-2." STRINGIFY(SDL2_COMPAT_VERSION_MINOR) "." STRINGIFY(SDL2_COMPAT_VERSION_PATCH) "-no-vcs"
diff --git a/src/version.rc b/src/version.rc
index 8d6067af..3bcb9dcf 100644
--- a/src/version.rc
+++ b/src/version.rc
@@ -3,8 +3,8 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,32,65,0
- PRODUCTVERSION 2,32,65,0
+ FILEVERSION 2,32,66,0
+ PRODUCTVERSION 2,32,66,0
FILEFLAGSMASK 0x3fL
FILEFLAGS 0x0L
FILEOS 0x40004L
@@ -17,12 +17,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "\0"
VALUE "FileDescription", "SDL\0"
- VALUE "FileVersion", "2, 32, 65, 0\0"
+ VALUE "FileVersion", "2, 32, 66, 0\0"
VALUE "InternalName", "SDL\0"
VALUE "LegalCopyright", "Copyright (C) 2026 Sam Lantinga\0"
VALUE "OriginalFilename", "SDL2.dll\0"
VALUE "ProductName", "Simple DirectMedia Layer 2.0 wrapper\0"
- VALUE "ProductVersion", "2, 32, 65, 0\0"
+ VALUE "ProductVersion", "2, 32, 66, 0\0"
END
END
BLOCK "VarFileInfo"