mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
x11-misc/tint2: fix underlinked -lm
Closes: https://bugs.gentoo.org/961098 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
11
x11-misc/tint2/files/tint2-17.1.3-math.patch
Normal file
11
x11-misc/tint2/files/tint2-17.1.3-math.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
https://bugs.gentoo.org/961098
|
||||
--- a/src/tint2conf/CMakeLists.txt
|
||||
+++ b/src/tint2conf/CMakeLists.txt
|
||||
@@ -75,6 +75,7 @@
|
||||
${GTHREAD2_LIBRARIES}
|
||||
${GTK3_LIBRARIES}
|
||||
${RSVG_LIBRARIES} )
|
||||
+target_link_libraries( tint2conf m )
|
||||
|
||||
add_definitions( -DINSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\" )
|
||||
add_definitions( -DLOCALEDIR=\"${CMAKE_INSTALL_FULL_LOCALEDIR}\" )
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -35,6 +35,10 @@ DEPEND="
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-17.1.3-math.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
xdg_environment_reset
|
||||
Reference in New Issue
Block a user