From 44408c23a81c88f99ab2ea6a94bae01f1a3e2f19 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 5 Apr 2021 23:23:34 +0000 Subject: games-util/antimicro: include SDL 2 patch Not clear why this doesn't happen for me, but it happened for toralf and a user, which is good enough. Patch is straightforward. Thanks-to: Tim Barnes Closes: https://bugs.gentoo.org/649242 Signed-off-by: Sam James --- games-util/antimicro/antimicro-2.23.ebuild | 1 + games-util/antimicro/files/antimicro-2.23-SDL2-include.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 games-util/antimicro/files/antimicro-2.23-SDL2-include.patch (limited to 'games-util') diff --git a/games-util/antimicro/antimicro-2.23.ebuild b/games-util/antimicro/antimicro-2.23.ebuild index 13efec5688b0..1363ec031a9d 100644 --- a/games-util/antimicro/antimicro-2.23.ebuild +++ b/games-util/antimicro/antimicro-2.23.ebuild @@ -31,6 +31,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-linking-errors.patch "${FILESDIR}"/${PN}-2.23-no-compress-man-page.patch + "${FILESDIR}"/${PN}-2.23-SDL2-include.patch ) src_prepare() { 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}) -- cgit v1.2.3-65-gdbad