net/tinyldap: fix build on 32bit

2023Q4
Dirk Meyer 2023-07-24 11:19:51 +02:00
parent 10fcc95ded
commit da6a0d2507
2 changed files with 12 additions and 0 deletions

View File

@ -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}

View File

@ -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