1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-07 23:57:35 +00:00
serenity/Ports/SDLPoP/patches/0002-Use-the-correct-include-paths-for-SDL.patch
Tim Ledbetter 5a04781224 Ports/SDLPoP: Remove an unnecessary patch
This patch removed some previously unsupported scanf format specifiers.

We still don't support these properly, but we can parse and ignore
them, which is equivalent to what this patch was doing.
2023-08-14 11:45:08 +02:00

26 lines
962 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Gunnar Beutner <gunnar@beutner.name>
Date: Mon, 19 Apr 2021 16:17:10 +0200
Subject: [PATCH] Use the correct include paths for SDL
The SDL port is installed into /usr/local, and its headers are
accessible as <SDL2/...>.
---
src/types.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/types.h b/src/types.h
index 1f696d17ee20a1623fbd4501f0d9afb9aec99f93..b5ede077a4686911912463310b425fe431bd0138 100644
--- a/src/types.h
+++ b/src/types.h
@@ -31,8 +31,8 @@ The authors of this program may be contacted at https://forum.princed.org
// These headers for SDL seem to be the pkgconfig/meson standard as per the
// latest versions. If the old ones should be used, the ifdef must be used
// to compare versions.
-# include <SDL.h>
-# include <SDL_image.h>
+# include <SDL2/SDL.h>
+# include <SDL2/SDL_image.h>
//#endif
#if SDL_BYTEORDER != SDL_LIL_ENDIAN