commit: 945ba6aa8178710b77ac8ef1ec8784b8e426449b Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sat Feb 14 00:21:27 2026 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sat Feb 14 00:28:43 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945ba6aa
x11-misc/tint2: restore and add math patch in 17.0.2 too log10 usage was indeed not in this version, but turns out there was still a sqrt(). Didn't fail for me when tested because -lm was injected by pkg-config from another package when I tried. Bug: https://bugs.gentoo.org/961098 Closes: https://bugs.gentoo.org/970043 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> x11-misc/tint2/files/tint2-17.0.2-math.patch | 10 ++++++++++ x11-misc/tint2/tint2-17.0.2-r1.ebuild | 1 + 2 files changed, 11 insertions(+) diff --git a/x11-misc/tint2/files/tint2-17.0.2-math.patch b/x11-misc/tint2/files/tint2-17.0.2-math.patch new file mode 100644 index 000000000000..8fa092e79b55 --- /dev/null +++ b/x11-misc/tint2/files/tint2-17.0.2-math.patch @@ -0,0 +1,10 @@ +https://bugs.gentoo.org/961098 +https://bugs.gentoo.org/970043 +--- a/src/tint2conf/CMakeLists.txt ++++ b/src/tint2conf/CMakeLists.txt +@@ -66,4 +66,5 @@ + ${GTK3_LIBRARIES} + ${RSVG_LIBRARIES} ) ++target_link_libraries( tint2conf m ) + + add_definitions( -DINSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\" ) diff --git a/x11-misc/tint2/tint2-17.0.2-r1.ebuild b/x11-misc/tint2/tint2-17.0.2-r1.ebuild index a7c1875fd08b..d23d458ec8c6 100644 --- a/x11-misc/tint2/tint2-17.0.2-r1.ebuild +++ b/x11-misc/tint2/tint2-17.0.2-r1.ebuild @@ -45,6 +45,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-cmake4.patch "${FILESDIR}"/${P}-glib2.76.patch + "${FILESDIR}"/${P}-math.patch ) src_configure() {
