Blame patches/libssh-0.11.1_pre.local.patch

35b051
diff -ru libssh-0.11.1.orig/CMakeLists.txt libssh-0.11.1/CMakeLists.txt
35b051
--- libssh-0.11.1.orig/CMakeLists.txt	2024-08-29 15:15:05.000000000 +0200
35b051
+++ libssh-0.11.1/CMakeLists.txt	2024-12-22 20:13:00.884204019 +0100
35b051
@@ -1,4 +1,4 @@
35b051
-cmake_minimum_required(VERSION 3.12.0)
35b051
+cmake_minimum_required(VERSION 3.7.0)
35b051
 
35b051
 # Specify search path for CMake modules to be loaded by include()
35b051
 # and find_package()
35b051
@@ -75,13 +75,6 @@
35b051
     endif (NOT NACL_FOUND)
35b051
 endif (WITH_NACL)
35b051
 
35b051
-# Disable symbol versioning in non UNIX platforms
35b051
-if (UNIX)
35b051
-    find_package(ABIMap 0.3.1)
35b051
-else (UNIX)
35b051
-    set(WITH_SYMBOL_VERSIONING OFF)
35b051
-endif (UNIX)
35b051
-
35b051
 # config.h checks
35b051
 include(ConfigureChecks.cmake)
35b051
 configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
35b051
diff -ru libssh-0.11.1.orig/libssh.pc.cmake libssh-0.11.1/libssh.pc.cmake
35b051
--- libssh-0.11.1.orig/libssh.pc.cmake	2024-01-12 14:12:29.000000000 +0100
35b051
+++ libssh-0.11.1/libssh.pc.cmake	2024-12-22 20:16:30.103523223 +0100
35b051
@@ -6,5 +6,5 @@
35b051
 Name: @PROJECT_NAME@
35b051
 Description: The SSH Library
35b051
 Version: @PROJECT_VERSION@
35b051
-Libs: -L${libdir} -lssh
35b051
+Libs: -lssh
35b051
 Cflags: -I${includedir}
35b051
diff -ru libssh-0.11.1.orig/src/threads/libgcrypt.c libssh-0.11.1/src/threads/libgcrypt.c
35b051
--- libssh-0.11.1.orig/src/threads/libgcrypt.c	2024-01-02 16:48:48.000000000 +0100
35b051
+++ libssh-0.11.1/src/threads/libgcrypt.c	2024-12-22 20:13:00.884204019 +0100
35b051
@@ -26,7 +26,6 @@
35b051
 
35b051
 #if (GCRYPT_VERSION_NUMBER >= 0x010600)
35b051
 /* libgcrypt >= 1.6 does not support custom callbacks */
35b051
-GCRY_THREAD_OPTION_PTHREAD_IMPL;
35b051
 
35b051
 int crypto_thread_init(struct ssh_threads_callbacks_struct *user_callbacks)
35b051
 {