diff options
Diffstat (limited to 'net/tinyldap')
-rw-r--r-- | net/tinyldap/Makefile | 1 | ||||
-rw-r--r-- | net/tinyldap/files/patch-fmt_tls_clienthello.c | 10 | ||||
-rw-r--r-- | net/tinyldap/files/patch-init_tls_context.c | 10 | ||||
-rw-r--r-- | net/tinyldap/files/patch-ldap_match_mapped.c | 11 | ||||
-rw-r--r-- | net/tinyldap/files/patch-ldap_match_sre.c | 11 |
5 files changed, 43 insertions, 0 deletions
diff --git a/net/tinyldap/Makefile b/net/tinyldap/Makefile index b85444dca50e..21083f1bea39 100644 --- a/net/tinyldap/Makefile +++ b/net/tinyldap/Makefile @@ -1,5 +1,6 @@ PORTNAME= tinyldap PORTVERSION= 0.0.${SNAPSHOT} +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.dinoex.de/pub/tinyldap/ DISTNAME= ${PORTNAME}-${SNAPSHOT} diff --git a/net/tinyldap/files/patch-fmt_tls_clienthello.c b/net/tinyldap/files/patch-fmt_tls_clienthello.c new file mode 100644 index 000000000000..2fc4a44aad18 --- /dev/null +++ b/net/tinyldap/files/patch-fmt_tls_clienthello.c @@ -0,0 +1,10 @@ +--- fmt_tls_clienthello.c.orig 2015-05-07 23:53:05 UTC ++++ fmt_tls_clienthello.c +@@ -2,6 +2,7 @@ + #include "uint16.h" + #include "uint32.h" + #include <time.h> ++#include <string.h> + + size_t fmt_tls_clienthello(char* dest, struct ssl_context* sc) { + size_t hnextlen=sc->servername?strlen(sc->servername)+9:0; diff --git a/net/tinyldap/files/patch-init_tls_context.c b/net/tinyldap/files/patch-init_tls_context.c new file mode 100644 index 000000000000..1a44ab0f40fb --- /dev/null +++ b/net/tinyldap/files/patch-init_tls_context.c @@ -0,0 +1,10 @@ +--- init_tls_context.c.orig 2015-05-07 23:53:06 UTC ++++ init_tls_context.c +@@ -1,6 +1,7 @@ + #include "tinytls.h" + #include "open.h" + #include <unistd.h> ++#include <string.h> + + void init_tls_context_norandom(struct ssl_context* sc, const char* servername) { + memset(sc,0,sizeof *sc); diff --git a/net/tinyldap/files/patch-ldap_match_mapped.c b/net/tinyldap/files/patch-ldap_match_mapped.c new file mode 100644 index 000000000000..7dc1550063e9 --- /dev/null +++ b/net/tinyldap/files/patch-ldap_match_mapped.c @@ -0,0 +1,11 @@ +--- ldap_match_mapped.c.orig 2017-03-19 11:47:19 UTC ++++ ldap_match_mapped.c +@@ -14,7 +14,7 @@ extern uint32 magic,attribute_count,record_count,indic + extern uint32 dn_ofs,objectClass_ofs; + + int substringmatch(struct Substring* x,const char* attr,int ignorecase) { +- int (*diff)(const void* a, unsigned long len, const void* b); ++ int (*diff)(const void* a, size_t len, const void* b); + if (ignorecase) + diff=case_diffb; + else diff --git a/net/tinyldap/files/patch-ldap_match_sre.c b/net/tinyldap/files/patch-ldap_match_sre.c new file mode 100644 index 000000000000..f6074d4c545b --- /dev/null +++ b/net/tinyldap/files/patch-ldap_match_sre.c @@ -0,0 +1,11 @@ +--- ldap_match_sre.c.orig 2007-06-28 22:17:33 UTC ++++ ldap_match_sre.c +@@ -45,7 +45,7 @@ static int ldap_match_present_sre(struct SearchResultE + } + + static int substrmatch(struct Substring* x,struct string* s,int ignorecase) { +- int (*diff)(const void* a, unsigned long len, const void* b); ++ int (*diff)(const void* a, size_t len, const void* b); + if (ignorecase) + diff=case_diffb; + else |