mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
net-misc/putty: fix USE=-gssapi build
Closes: https://bugs.gentoo.org/873355 Signed-off-by: Matthew Smith <matthew@gentoo.org>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
Define NO_GSSAPI when -DPUTTY_GSSAPI=OFF
|
||||
|
||||
Previously it would only be defined if -DPUTTY_GSSAPI=DYNAMIC and libdl is
|
||||
not found on the system. Setting -DPUTTY_GSSAPI=OFF on systems with glibc
|
||||
2.33 and earlier causes a build failure, because libdl is not linked in.
|
||||
|
||||
Bug: https://bugs.gentoo.org/873355
|
||||
--- a/cmake/platforms/unix.cmake
|
||||
+++ b/cmake/platforms/unix.cmake
|
||||
@@ -105,6 +105,8 @@
|
||||
"Could not find libdl -- cannot provide dynamic GSSAPI support")
|
||||
set(NO_GSSAPI ON)
|
||||
endif()
|
||||
+else()
|
||||
+ set(NO_GSSAPI ON)
|
||||
endif()
|
||||
|
||||
if(PUTTY_GSSAPI STREQUAL STATIC)
|
||||
@@ -44,6 +44,11 @@ REQUIRED_USE="
|
||||
gtk2? ( gtk )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Bug #873355
|
||||
"${FILESDIR}"/putty-0.77-nogssapi.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
[[ ${PV} == *9999 ]] && git-r3_src_unpack
|
||||
default
|
||||
Reference in New Issue
Block a user