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