From d0d0e0ba2369a2d625ad20f969ccdf53e33f96b9 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Thu, 8 Mar 2012 18:54:06 +0000 Subject: - Do not rely on specific gnutls nor gsasl version. - Fix clang compilation. Submitted by: Mel Flynn --- mail/libvmime/Makefile | 6 +++--- mail/libvmime/files/patch-src__mailboxField.cpp | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 mail/libvmime/files/patch-src__mailboxField.cpp (limited to 'mail/libvmime') diff --git a/mail/libvmime/Makefile b/mail/libvmime/Makefile index 44de20efe8bb..1ae9842063e2 100644 --- a/mail/libvmime/Makefile +++ b/mail/libvmime/Makefile @@ -7,15 +7,15 @@ PORTNAME= libvmime PORTVERSION= 0.9.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= SF/vmime/vmime/0.9 MAINTAINER= delphij@FreeBSD.org COMMENT= An all-in-one Internet mail library -LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls -LIB_DEPENDS+= gsasl.15:${PORTSDIR}/security/gsasl +LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls +LIB_DEPENDS+= gsasl:${PORTSDIR}/security/gsasl USE_BZIP2= yes USE_GMAKE= yes diff --git a/mail/libvmime/files/patch-src__mailboxField.cpp b/mail/libvmime/files/patch-src__mailboxField.cpp new file mode 100644 index 000000000000..94d559aa5447 --- /dev/null +++ b/mail/libvmime/files/patch-src__mailboxField.cpp @@ -0,0 +1,11 @@ +--- ./src/mailboxField.cpp.orig 2009-09-06 05:10:27.000000000 -0700 ++++ ./src/mailboxField.cpp 2012-03-08 10:49:05.687243933 -0800 +@@ -51,7 +51,7 @@ + // Here, we cannot simply call "m_mailbox.parse()" because it + // may have more than one address specified (even if this field + // should contain only one). We are never too much careful... +- ref
parsedAddress = address::parseNext(buffer, position, end, newPosition); ++ ref
parsedAddress = mailbox::parseNext(buffer, position, end, newPosition); + + if (parsedAddress) + { -- cgit v1.2.3