From f52da2db936330dd6ea0d0209f21fed8d3df823e Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 6 Feb 2026 23:10:51 +0000 Subject: [PATCH] x11-misc/tint2: fix underlinked -lm Closes: https://bugs.gentoo.org/961098 Signed-off-by: Sam James --- x11-misc/tint2/files/tint2-17.1.3-math.patch | 11 +++++++++++ .../{tint2-17.1.3.ebuild => tint2-17.1.3-r1.ebuild} | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 x11-misc/tint2/files/tint2-17.1.3-math.patch rename x11-misc/tint2/{tint2-17.1.3.ebuild => tint2-17.1.3-r1.ebuild} (94%) diff --git a/x11-misc/tint2/files/tint2-17.1.3-math.patch b/x11-misc/tint2/files/tint2-17.1.3-math.patch new file mode 100644 index 0000000000000..ced2b78d09751 --- /dev/null +++ b/x11-misc/tint2/files/tint2-17.1.3-math.patch @@ -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}\" ) diff --git a/x11-misc/tint2/tint2-17.1.3.ebuild b/x11-misc/tint2/tint2-17.1.3-r1.ebuild similarity index 94% rename from x11-misc/tint2/tint2-17.1.3.ebuild rename to x11-misc/tint2/tint2-17.1.3-r1.ebuild index 50e0908a179ba..140c8f8162632 100644 --- a/x11-misc/tint2/tint2-17.1.3.ebuild +++ b/x11-misc/tint2/tint2-17.1.3-r1.ebuild @@ -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