fix net/openldap22:
- fix warnings and potential crash on 64 bit platforms PR: 54122 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> (maintainer)
This commit is contained in:
parent
3d87bb09b7
commit
672c51baa5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84348
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= ${OPENLDAP_VERSION}.a
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
http://public.planetmirror.com/pub/openldap/%SUBDIR%/ \
|
||||
@ -18,7 +19,7 @@ MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.holywar.net/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.nl.uu.net/pub/unix/db/openldap/%SUBDIR%/ \
|
||||
ftp://ftp.linux.pt/pub/mirrors/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.si.uniovi.es/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.rediris.es/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.u-aizu.ac.jp/pub/net/openldap/%SUBDIR%/ \
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- libraries/liblunicode/ucstr.c.orig Fri Apr 11 03:57:10 2003
|
||||
+++ libraries/liblunicode/ucstr.c Sat Jul 5 10:53:04 2003
|
||||
@@ -15,6 +15,8 @@
|
||||
#include <ldap_utf8.h>
|
||||
#include <ldap_pvt_uc.h>
|
||||
|
||||
+#include "lber_pvt.h"
|
||||
+
|
||||
#define malloc(x) ber_memalloc_x(x,ctx)
|
||||
#define realloc(x,y) ber_memrealloc_x(x,y,ctx)
|
||||
#define free(x) ber_memfree_x(x,ctx)
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= ${OPENLDAP_VERSION}.a
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
http://public.planetmirror.com/pub/openldap/%SUBDIR%/ \
|
||||
@ -18,7 +19,7 @@ MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.holywar.net/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.nl.uu.net/pub/unix/db/openldap/%SUBDIR%/ \
|
||||
ftp://ftp.linux.pt/pub/mirrors/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.si.uniovi.es/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.rediris.es/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.u-aizu.ac.jp/pub/net/openldap/%SUBDIR%/ \
|
||||
|
11
net/openldap22/files/patch-libraries::liblunicode::ucstr.c
Normal file
11
net/openldap22/files/patch-libraries::liblunicode::ucstr.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- libraries/liblunicode/ucstr.c.orig Fri Apr 11 03:57:10 2003
|
||||
+++ libraries/liblunicode/ucstr.c Sat Jul 5 10:53:04 2003
|
||||
@@ -15,6 +15,8 @@
|
||||
#include <ldap_utf8.h>
|
||||
#include <ldap_pvt_uc.h>
|
||||
|
||||
+#include "lber_pvt.h"
|
||||
+
|
||||
#define malloc(x) ber_memalloc_x(x,ctx)
|
||||
#define realloc(x,y) ber_memrealloc_x(x,y,ctx)
|
||||
#define free(x) ber_memfree_x(x,ctx)
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= ${OPENLDAP_VERSION}.a
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
http://public.planetmirror.com/pub/openldap/%SUBDIR%/ \
|
||||
@ -18,7 +19,7 @@ MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.holywar.net/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.nl.uu.net/pub/unix/db/openldap/%SUBDIR%/ \
|
||||
ftp://ftp.linux.pt/pub/mirrors/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.si.uniovi.es/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.rediris.es/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.u-aizu.ac.jp/pub/net/openldap/%SUBDIR%/ \
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- libraries/liblunicode/ucstr.c.orig Fri Apr 11 03:57:10 2003
|
||||
+++ libraries/liblunicode/ucstr.c Sat Jul 5 10:53:04 2003
|
||||
@@ -15,6 +15,8 @@
|
||||
#include <ldap_utf8.h>
|
||||
#include <ldap_pvt_uc.h>
|
||||
|
||||
+#include "lber_pvt.h"
|
||||
+
|
||||
#define malloc(x) ber_memalloc_x(x,ctx)
|
||||
#define realloc(x,y) ber_memrealloc_x(x,y,ctx)
|
||||
#define free(x) ber_memfree_x(x,ctx)
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= openldap
|
||||
PORTVERSION= ${OPENLDAP_VERSION}.a
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net databases
|
||||
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
http://public.planetmirror.com/pub/openldap/%SUBDIR%/ \
|
||||
@ -18,7 +19,7 @@ MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.holywar.net/pub/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.nl.uu.net/pub/unix/db/openldap/%SUBDIR%/ \
|
||||
ftp://ftp.linux.pt/pub/mirrors/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.si.uniovi.es/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.rediris.es/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
|
||||
http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/%SUBDIR%/ \
|
||||
ftp://ftp.u-aizu.ac.jp/pub/net/openldap/%SUBDIR%/ \
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- libraries/liblunicode/ucstr.c.orig Fri Apr 11 03:57:10 2003
|
||||
+++ libraries/liblunicode/ucstr.c Sat Jul 5 10:53:04 2003
|
||||
@@ -15,6 +15,8 @@
|
||||
#include <ldap_utf8.h>
|
||||
#include <ldap_pvt_uc.h>
|
||||
|
||||
+#include "lber_pvt.h"
|
||||
+
|
||||
#define malloc(x) ber_memalloc_x(x,ctx)
|
||||
#define realloc(x,y) ber_memrealloc_x(x,y,ctx)
|
||||
#define free(x) ber_memfree_x(x,ctx)
|
Loading…
Reference in New Issue
Block a user