summaryrefslogtreecommitdiff
path: root/games-util/antimicro/files/antimicro-2.23-SDL2-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/antimicro/files/antimicro-2.23-SDL2-include.patch')
-rw-r--r--games-util/antimicro/files/antimicro-2.23-SDL2-include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games-util/antimicro/files/antimicro-2.23-SDL2-include.patch b/games-util/antimicro/files/antimicro-2.23-SDL2-include.patch
new file mode 100644
index 000000000000..a71e9b4b862a
--- /dev/null
+++ b/games-util/antimicro/files/antimicro-2.23-SDL2-include.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/649242
+Thanks-to: Tim Barnes
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -585,6 +585,7 @@
+ endif(WITH_XTEST)
+
+ if(USE_SDL_2)
++ include_directories(${SDL2_INCLUDE_DIRS})
+ list(APPEND LIBS ${SDL2_LIBRARIES})
+ else()
+ list(APPEND LIBS ${SDL_LIBRARIES})