Skip to content

Commit

Permalink
games-util/antimicro: include SDL 2 patch
Browse files Browse the repository at this point in the history
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 <[email protected]>
Closes: https://bugs.gentoo.org/649242
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 5, 2021
1 parent 34d1924 commit 44408c2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions games-util/antimicro/antimicro-2.23.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
12 changes: 12 additions & 0 deletions games-util/antimicro/files/antimicro-2.23-SDL2-include.patch
Original file line number Diff line number Diff line change
@@ -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})

0 comments on commit 44408c2

Please sign in to comment.