diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/echoping/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/echoping/files')
3 files changed, 53 insertions, 0 deletions
diff --git a/net-analyzer/echoping/files/echoping-6.0.2_p434-fix_implicit_declarations.patch b/net-analyzer/echoping/files/echoping-6.0.2_p434-fix_implicit_declarations.patch new file mode 100644 index 000000000000..c2fd2f6886cb --- /dev/null +++ b/net-analyzer/echoping/files/echoping-6.0.2_p434-fix_implicit_declarations.patch @@ -0,0 +1,20 @@ +--- a/echoping.h ++++ b/echoping.h +@@ -194,6 +194,7 @@ + #endif + /* util.c */ + char *random_string(); ++char *to_upper(); + void tvsub(); + void tvadd(); + void tvavg(); +--- a/plugins/ldap/ldap.c ++++ b/plugins/ldap/ldap.c +@@ -9,6 +9,7 @@ + #include "../../config.h" + #include "config.h" + #endif ++#define LDAP_DEPRECATED 1 + #include <ldap.h> + + const char *request = NULL; diff --git a/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch new file mode 100644 index 000000000000..0cb219f254cb --- /dev/null +++ b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch @@ -0,0 +1,11 @@ +--- a/echoping.c ++++ b/echoping.c +@@ -981,8 +981,6 @@ + if (tls_result != 0) + err_sys("Cannot create a new TLS session"); + gnutls_set_default_priority(session); +- gnutls_certificate_type_set_priority(session, +- cert_type_priority); + gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, xcred); + gnutls_transport_set_ptr(session, (gnutls_transport_ptr) + (long) sockfd); diff --git a/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch new file mode 100644 index 000000000000..8b87c47c7892 --- /dev/null +++ b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch @@ -0,0 +1,22 @@ +--- a/echoping.c ++++ b/echoping.c +@@ -134,7 +134,7 @@ + SSL *sslh = NULL; + #endif + #ifdef GNUTLS +- gnutls_session session; ++ gnutls_session_t session; + gnutls_certificate_credentials xcred; + int tls_result; + const int cert_type_priority[3] = { GNUTLS_CRT_X509, +--- a/echoping.h ++++ b/echoping.h +@@ -103,7 +103,7 @@ + SSL *ssl; + #endif + #ifdef GNUTLS +- gnutls_session tls; ++ gnutls_session_t tls; + #endif + } CHANNEL; + |