Correct an NSS initialization error that was causing crashes with certain

protocols.

Reported by:	mux
Obtained from:	Pidgin SVN
This commit is contained in:
Joe Marcus Clarke 2007-05-03 19:11:01 +00:00
parent fa740df6b2
commit b334e18a7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191492
4 changed files with 14 additions and 1 deletions

View file

@ -7,6 +7,7 @@
#
PORTNAME= finch
PORTREVISION= 0
MAINTAINER= marcus@FreeBSD.org
COMMENT= Finch multi-protocol messaging client (Console UI)

View file

@ -8,7 +8,7 @@
PORTNAME?= libpurple
PORTVERSION= 2.0.0.b7
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES?= net-im
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pidgin

View file

@ -0,0 +1,11 @@
--- libpurple/plugins/ssl/ssl-nss.c.orig Thu May 3 14:58:39 2007
+++ libpurple/plugins/ssl/ssl-nss.c Thu May 3 15:05:59 2007
@@ -108,7 +108,7 @@ ssl_nss_init_nss(void)
{
char *lib;
PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
- NSS_NoDB_Init(NULL);
+ NSS_NoDB_Init(".");
/* TODO: Fix this so autoconf does the work trying to find this lib. */
#ifndef _WIN32

View file

@ -7,6 +7,7 @@
#
PORTNAME= pidgin
PORTREVISION= 0
MAINTAINER= marcus@FreeBSD.org
COMMENT= Pidgin multi-protocol messaging client (GTK+ UI)