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:
Sam James
2026-02-06 23:10:51 +00:00
parent 92175f4b47
commit f52da2db93
2 changed files with 16 additions and 1 deletions

View 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}\" )

View File

@@ -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