ports: Replace SDL2 with sdl2-compat

There is no need to keep two SDL versions around
This commit is contained in:
2026-07-05 00:05:51 +03:00
parent 380b172968
commit c7eb2dbdf3
22 changed files with 155 additions and 1759 deletions

View File

@@ -0,0 +1,12 @@
diff -ruN sdl12-compat-1.2.76/include/SDL/SDL_config.h sdl12-compat-1.2.76-banan_os/include/SDL/SDL_config.h
--- sdl12-compat-1.2.76/include/SDL/SDL_config.h 2026-04-04 03:40:25.000000000 +0300
+++ sdl12-compat-1.2.76-banan_os/include/SDL/SDL_config.h 2026-07-04 09:21:56.688337719 +0300
@@ -73,7 +73,7 @@
#define HAVE_MATH_H 1
#endif
-#if defined(__linux__) || defined(__sun)
+#if defined(__linux__) || defined(__sun) || defined(__banan_os__)
#define HAVE_ALLOCA_H 1
#endif