From 28e81aff46773897ded8623a93e37d3473d0275b Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Thu, 27 Nov 2025 20:06:33 +0100 Subject: [PATCH] net-misc/tigervnc: remove unused patch Signed-off-by: Michael Mair-Keimberger --- ...ervnc-1.15.80-disable-server-and-pam.patch | 70 ------------------- 1 file changed, 70 deletions(-) delete mode 100644 net-misc/tigervnc/files/tigervnc-1.15.80-disable-server-and-pam.patch diff --git a/net-misc/tigervnc/files/tigervnc-1.15.80-disable-server-and-pam.patch b/net-misc/tigervnc/files/tigervnc-1.15.80-disable-server-and-pam.patch deleted file mode 100644 index a8a29e181b08e..0000000000000 --- a/net-misc/tigervnc/files/tigervnc-1.15.80-disable-server-and-pam.patch +++ /dev/null @@ -1,70 +0,0 @@ -Add BUILD_SERVER similar to BUILD_VIEWER - -Add a BUILD_SERVER option similar to BUILD_VIEWER. When BUILD_SERVER is -not active, we do not require pam, so also disable everything that needs -pam. This allows building the viewer on a machine where pam is not -installed. - -See https://bugs.gentoo.org/852830 - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -278,6 +278,7 @@ if(BUILD_JAVA) - add_subdirectory(java) - endif() - -+trioption(BUILD_SERVER "Build TigerVNC server") - trioption(BUILD_VIEWER "Build TigerVNC viewer") - if(BUILD_VIEWER) - # Check for FLTK -@@ -359,7 +360,7 @@ if (ENABLE_NETTLE) - endif() - - # Check for PAM library --if(UNIX AND NOT APPLE) -+if(BUILD_SERVER AND UNIX AND NOT APPLE) - check_include_files(security/pam_appl.h HAVE_PAM_H) - set(CMAKE_REQUIRED_LIBRARIES -lpam) - check_function_exists(pam_start HAVE_PAM_START) ---- a/common/rfb/CMakeLists.txt -+++ b/common/rfb/CMakeLists.txt -@@ -75,7 +75,7 @@ if(WIN32) - target_sources(rfb PRIVATE WinPasswdValidator.cxx) - endif(WIN32) - --if(UNIX AND NOT APPLE) -+if(BUILD_SERVER AND UNIX AND NOT APPLE) - target_sources(rfb PRIVATE UnixPasswordValidator.cxx) - target_link_libraries(rfb ${PAM_LIBS}) - endif() ---- a/tests/perf/CMakeLists.txt -+++ b/tests/perf/CMakeLists.txt -@@ -8,8 +8,10 @@ target_link_libraries(convperf test_util rfb) - add_executable(decperf decperf.cxx) - target_link_libraries(decperf test_util rdr rfb) - --add_executable(encperf encperf.cxx) --target_link_libraries(encperf test_util core rdr rfb) -+if(BUILD_SERVER) -+ add_executable(encperf encperf.cxx) -+ target_link_libraries(encperf test_util core rdr rfb) -+endif() - - if (BUILD_VIEWER) - add_executable(fbperf ---- a/unix/CMakeLists.txt -+++ b/unix/CMakeLists.txt -@@ -4,7 +4,9 @@ endif() - - add_subdirectory(tx) - add_subdirectory(common) --add_subdirectory(vncconfig) --add_subdirectory(vncpasswd) --add_subdirectory(vncserver) --add_subdirectory(x0vncserver) -+if(BUILD_SERVER) -+ add_subdirectory(vncconfig) -+ add_subdirectory(vncpasswd) -+ add_subdirectory(vncserver) -+ add_subdirectory(x0vncserver) -+endif()