aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libvmime
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-03-09 02:54:06 +0800
committerdelphij <delphij@FreeBSD.org>2012-03-09 02:54:06 +0800
commit3cf9e2e99bba43c589b5a83db91aeb68db07431f (patch)
treedf0fbee4275c6116e64463f1d27cabc0bafab07b /mail/libvmime
parentff4ca051ff339ff2a33eb9bb2d4b7b9cc69f4c3f (diff)
downloadfreebsd-ports-gnome-3cf9e2e99bba43c589b5a83db91aeb68db07431f.tar.gz
freebsd-ports-gnome-3cf9e2e99bba43c589b5a83db91aeb68db07431f.tar.zst
freebsd-ports-gnome-3cf9e2e99bba43c589b5a83db91aeb68db07431f.zip
- Do not rely on specific gnutls nor gsasl version.
- Fix clang compilation. Submitted by: Mel Flynn <rflynn acsalaska net>
Diffstat (limited to 'mail/libvmime')
-rw-r--r--mail/libvmime/Makefile6
-rw-r--r--mail/libvmime/files/patch-src__mailboxField.cpp11
2 files changed, 14 insertions, 3 deletions
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 <address> parsedAddress = address::parseNext(buffer, position, end, newPosition);
++ ref <address> parsedAddress = mailbox::parseNext(buffer, position, end, newPosition);
+
+ if (parsedAddress)
+ {