ports: Replace SDL2 with sdl2-compat
There is no need to keep two SDL versions around
This commit is contained in:
12
ports/sdl12-compat/patches/0003-define-HAVE_ALLOCA_H.patch
Normal file
12
ports/sdl12-compat/patches/0003-define-HAVE_ALLOCA_H.patch
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user