commit:     cbf77c44e554b4f4a0c0277a9fbeea1fa16687f5
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Wed Oct 16 13:37:24 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 21:51:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbf77c44

games-engines/openmw: remove unneeded dep on Xt

Closes: https://bugs.gentoo.org/925582
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/39010
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-engines/openmw/files/openmw-0.48.0-Xt.patch | 17 +++++++++++++++++
 games-engines/openmw/openmw-0.48.0.ebuild         |  1 +
 2 files changed, 18 insertions(+)

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() {

Reply via email to