commit: f52da2db936330dd6ea0d0209f21fed8d3df823e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Feb 6 23:10:51 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 6 23:15:07 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52da2db
x11-misc/tint2: fix underlinked -lm Closes: https://bugs.gentoo.org/961098 Signed-off-by: Sam James <sam <AT> gentoo.org> x11-misc/tint2/files/tint2-17.1.3-math.patch | 11 +++++++++++ .../tint2/{tint2-17.1.3.ebuild => tint2-17.1.3-r1.ebuild} | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) 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 000000000000..ced2b78d0975 --- /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 50e0908a179b..140c8f816263 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
