summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2021-03-08 09:29:04 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-03-08 09:35:05 +0200
commit7a7657e01bf33cba95cf23d4877106b76f793fee (patch)
treee8b7a0720210c67b92fcc8782b6db73f6a294713 /games-engines/openmw/files/openmw-0.47.0-bullet-debian.patch
parentsci-geosciences/grass: drop 7.8.4 (diff)
downloadgentoo-7a7657e01bf33cba95cf23d4877106b76f793fee.tar.gz
gentoo-7a7657e01bf33cba95cf23d4877106b76f793fee.tar.bz2
gentoo-7a7657e01bf33cba95cf23d4877106b76f793fee.zip
games-engines/openmw: fix build of 9999
Closes: https://bugs.gentoo.org/773211 Signed-off-by: Alexey Sokolov <sokolov@google.com> Thanks-to: Benjamin Winger <bmw@disroot.org> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-engines/openmw/files/openmw-0.47.0-bullet-debian.patch')
-rw-r--r--games-engines/openmw/files/openmw-0.47.0-bullet-debian.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/games-engines/openmw/files/openmw-0.47.0-bullet-debian.patch b/games-engines/openmw/files/openmw-0.47.0-bullet-debian.patch
new file mode 100644
index 000000000000..3a8486250a8a
--- /dev/null
+++ b/games-engines/openmw/files/openmw-0.47.0-bullet-debian.patch
@@ -0,0 +1,15 @@
+This condition makes it link to wrong library on Gentoo Prefix on Debian
+--- a/components/CMakeLists.txt
++++ b/components/CMakeLists.txt
+@@ -246,11 +246,7 @@ target_link_libraries(components
+ RecastNavigation::Recast
+ )
+
+-if (BULLET_USE_DOUBLES AND (UBUNTU_FOUND OR DEBIAN_FOUND) AND OPENMW_USE_SYSTEM_BULLET)
+- target_link_libraries(components BulletCollision-float64 LinearMath-float64)
+-else()
+ target_link_libraries(components ${BULLET_LIBRARIES})
+-endif()
+
+ if (WIN32)
+ target_link_libraries(components