[PATCH] security/seahorse: Fix crash on amd64 with OpenLDAP >= 2.3

Yuri Pankov yuri at darklight.org.ru
Fri Aug 3 01:19:48 UTC 2007


>Submitter-Id:	current-users
>Originator:	Yuri Pankov
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] security/seahorse: Fix crash on amd64 with OpenLDAP >= 2.3
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 7.0-CURRENT amd64
>Environment:
System: FreeBSD darklight.org.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Wed Aug  1 23:00:48 MSD
>Description:
- Fix crash on amd64 with OpenLDAP >= 2.3 (http://bugzilla.gnome.org/show_bug.cgi?id=456276)
- Update COMMENT to reflect reality
- Drop USE_X_PREFIX

Port maintainer (gnome at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- seahorse-1.0.1_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/seahorse.orig/Makefile /usr/ports/security/seahorse/Makefile
--- /usr/ports/security/seahorse.orig/Makefile	2007-08-03 02:33:35.000000000 +0400
+++ /usr/ports/security/seahorse/Makefile	2007-08-03 04:18:50.000000000 +0400
@@ -8,14 +8,14 @@
 
 PORTNAME=	seahorse
 PORTVERSION=	1.0.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
 DIST_SUBDIR=	gnome2
 
 MAINTAINER=	gnome at FreeBSD.org
-COMMENT=	A front end for GnuPG
+COMMENT=	GNOME application for managing encryption keys (PGP, SSH)
 
 BUILD_DEPENDS=	gpgv:${PORTSDIR}/security/gnupg1
 RUN_DEPENDS=	gpgv:${PORTSDIR}/security/gnupg1
@@ -25,7 +25,6 @@
 USE_LDCONFIG=	yes
 USE_BZIP2=	yes
 USE_GETTEXT=	yes
-USE_X_PREFIX=	yes
 USE_GMAKE=	yes
 USE_GECKO=	firefox xulrunner firefox-devel<->firefox
 USE_GNOME=	gnomehack intlhack gnomeprefix libgnomeui
@@ -71,6 +70,9 @@
 
 .if !defined(WITHOUT_LDAP)
 USE_OPENLDAP=	yes
+.if ${WANT_OPENLDAP_VER} >= 23
+CFLAGS+=	-DLDAP_DEPRECATED
+.endif
 .else
 CONFIGURE_ARGS+=--disable-ldap
 .endif
--- seahorse-1.0.1_3.patch ends here ---



More information about the freebsd-gnome mailing list