summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2024-10-16 14:37:24 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-10-20 22:51:36 +0100
commitcbf77c44e554b4f4a0c0277a9fbeea1fa16687f5 (patch)
tree3fbb5c1deddb18d0530ae45d6a77e59bfa262ef0
parentdev-util/reuse: add 4.0.3 (diff)
downloadgentoo-cbf77c44e554b4f4a0c0277a9fbeea1fa16687f5.tar.gz
gentoo-cbf77c44e554b4f4a0c0277a9fbeea1fa16687f5.tar.bz2
gentoo-cbf77c44e554b4f4a0c0277a9fbeea1fa16687f5.zip
games-engines/openmw: remove unneeded dep on Xt
Closes: https://bugs.gentoo.org/925582 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/39010 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r--games-engines/openmw/files/openmw-0.48.0-Xt.patch17
-rw-r--r--games-engines/openmw/openmw-0.48.0.ebuild1
2 files changed, 18 insertions, 0 deletions
diff --git a/games-engines/openmw/files/openmw-0.48.0-Xt.patch b/games-engines/openmw/files/openmw-0.48.0-Xt.patch
new file mode 100644
index 000000000000..e24516af9155
--- /dev/null
+++ b/games-engines/openmw/files/openmw-0.48.0-Xt.patch
@@ -0,0 +1,17 @@
+https://gitlab.com/OpenMW/openmw/-/merge_requests/4407
+https://bugs.gentoo.org/925582
+
+--- a/apps/wizard/CMakeLists.txt
++++ b/apps/wizard/CMakeLists.txt
+@@ -98,11 +98,6 @@ if (BUILD_WITH_CODE_COVERAGE)
+ target_link_libraries(openmw-wizard gcov)
+ endif()
+
+-# Workaround for binutil => 2.23 problem when linking, should be fixed eventually upstream
+-if (CMAKE_SYSTEM_NAME MATCHES "Linux")
+-target_link_libraries(openmw-wizard dl Xt)
+-endif()
+-
+ if (WIN32)
+ INSTALL(TARGETS openmw-wizard RUNTIME DESTINATION ".")
+ endif(WIN32)
diff --git a/games-engines/openmw/openmw-0.48.0.ebuild b/games-engines/openmw/openmw-0.48.0.ebuild
index 65765800e7b5..0ca8e595f5d7 100644
--- a/games-engines/openmw/openmw-0.48.0.ebuild
+++ b/games-engines/openmw/openmw-0.48.0.ebuild
@@ -76,6 +76,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/openmw-0.48.0-gcc14.patch"
+ "${FILESDIR}/openmw-0.48.0-Xt.patch"
)
src_prepare() {