summaryrefslogtreecommitdiff
path: root/games-util/antimicro/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-util/antimicro/files
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-util/antimicro/files')
-rw-r--r--games-util/antimicro/files/antimicro-2.23-SDL2-include.patch12
-rw-r--r--games-util/antimicro/files/antimicro-2.23-linking-errors.patch6
-rw-r--r--games-util/antimicro/files/antimicro-2.23-no-compress-man-page.patch11
3 files changed, 23 insertions, 6 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})
diff --git a/games-util/antimicro/files/antimicro-2.23-linking-errors.patch b/games-util/antimicro/files/antimicro-2.23-linking-errors.patch
index 88d03e876704..e62a8353c6ca 100644
--- a/games-util/antimicro/files/antimicro-2.23-linking-errors.patch
+++ b/games-util/antimicro/files/antimicro-2.23-linking-errors.patch
@@ -14,12 +14,6 @@ Starting with Qt 5.9.4, calling QT5_WRAP_CPP() disables the AUTOMOC property
on the macro's input files, which means neither CMake's automoc
infrastructure not QT5_WRAP_CPP()'s code were being used and we ended up
with several 'undefined reference to vtable' errors when linking.
----
- CMakeLists.txt | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 63ef851..0e47889 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -499,7 +499,6 @@ if (UNIX)
diff --git a/games-util/antimicro/files/antimicro-2.23-no-compress-man-page.patch b/games-util/antimicro/files/antimicro-2.23-no-compress-man-page.patch
new file mode 100644
index 000000000000..7eebc42393f1
--- /dev/null
+++ b/games-util/antimicro/files/antimicro-2.23-no-compress-man-page.patch
@@ -0,0 +1,11 @@
+--- a/other/CMakeLists.txt
++++ b/other/CMakeLists.txt
+@@ -1,7 +1,3 @@
+ add_subdirectory(appdata)
+
+-add_custom_target(manpage)
+-add_custom_command(TARGET manpage PRE_BUILD
+- COMMAND gzip -c "${PROJECT_SOURCE_DIR}/other/antimicro.1" > "antimicro.1.gz" VERBATIM
+-)
+-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/antimicro.1.gz" DESTINATION "share/man/man1")
++install(FILES "${PROJECT_SOURCE_DIR}/other/antimicro.1" DESTINATION "share/man/man1")