From 08ebdab3ab6dc524ef27c1d9e0e6d4979e95304c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 1 May 2021 23:43:48 +0000 Subject: Adding metadata --- dev-cpp/commoncpp2/files/1.8.1-libgcrypt.patch | 48 -------------------------- 1 file changed, 48 deletions(-) delete mode 100644 dev-cpp/commoncpp2/files/1.8.1-libgcrypt.patch (limited to 'dev-cpp/commoncpp2/files/1.8.1-libgcrypt.patch') diff --git a/dev-cpp/commoncpp2/files/1.8.1-libgcrypt.patch b/dev-cpp/commoncpp2/files/1.8.1-libgcrypt.patch deleted file mode 100644 index 08e24e1a06a9..000000000000 --- a/dev-cpp/commoncpp2/files/1.8.1-libgcrypt.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- a/src/ssl.cpp -+++ b/src/ssl.cpp -@@ -99,35 +99,7 @@ - return 0; - } - --extern "C" { -- static int _wrap_mutex_init(void **priv) -- { -- return _gcry_mutex_init((Mutex **)(priv)); -- } -- -- static int _wrap_mutex_destroy(void **priv) -- { -- return _gcry_mutex_destroy((Mutex **)(priv)); -- } -- -- static int _wrap_mutex_lock(void **priv) -- { -- return _gcry_mutex_lock((Mutex **)(priv)); -- } -- -- static int _wrap_mutex_unlock(void **priv) -- { -- return _gcry_mutex_unlock((Mutex **)(priv)); -- } -- -- static struct gcry_thread_cbs _gcry_threads = -- { -- GCRY_THREAD_OPTION_PTHREAD, NULL, -- _wrap_mutex_init, _wrap_mutex_destroy, -- _wrap_mutex_lock, _wrap_mutex_unlock -- }; -- --}; -+GCRY_THREAD_OPTION_PTHREAD_IMPL; - - #endif - -@@ -135,7 +107,7 @@ - public: - _ssl_global() { - #ifndef WIN32 -- gcry_control(GCRYCTL_SET_THREAD_CBS, &_gcry_threads); -+ gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread); - #endif - gnutls_global_init(); - } -- cgit v1.3