ports/54122: [MAINTAINER PATCH] fix warnings and potential crash on 64 bit platforms

Oliver Eikemeier eikemeier at fillmore-labs.com
Sat Jul 5 10:30:20 UTC 2003


>Number:         54122
>Category:       ports
>Synopsis:       [MAINTAINER PATCH] fix warnings and potential crash on 64 bit platforms
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 05 03:30:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Eikemeier
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Fillmore Labs - http://www.fillmore-labs.com
>Environment:
System: FreeBSD nuuk.fillmore-labs.com 4.8-STABLE

>Description:

- fix warnings and potential crash on 64 bit platforms
  see http://www.OpenLDAP.org/its/index.cgi?findid=2630
- switch spanish mirror to red iris
  see http://www.openldap.org/its/index.cgi?findid=2629
- bump portrevision

>How-To-Repeat:
>Fix:

--- openldap22-2.2.0a_1.patch begins here ---
diff -Nur openldap22.orig/Makefile openldap22/Makefile
--- openldap22.orig/Makefile	Wed Jul  2 16:49:56 2003
+++ openldap22/Makefile	Sat Jul  5 12:16:07 2003
@@ -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 @@
 		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%/	\
diff -Nur openldap22.orig/files/patch-libraries::liblunicode::ucstr.c openldap22/files/patch-libraries::liblunicode::ucstr.c
--- openldap22.orig/files/patch-libraries::liblunicode::ucstr.c	Thu Jan  1 01:00:00 1970
+++ openldap22/files/patch-libraries::liblunicode::ucstr.c	Sat Jul  5 10:53:58 2003
@@ -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)
--- openldap22-2.2.0a_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list