aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-11-08 21:45:52 +0800
committertobik <tobik@FreeBSD.org>2018-11-08 21:45:52 +0800
commit69f788343ba6a250e8125640acebb6334cf30085 (patch)
tree0730eb78812a59abcdceaab4f96f62c435461286 /mail
parentc981df30a962d4428ece4a37aa82a968e96d39ac (diff)
downloadfreebsd-ports-gnome-69f788343ba6a250e8125640acebb6334cf30085.tar.gz
freebsd-ports-gnome-69f788343ba6a250e8125640acebb6334cf30085.tar.zst
freebsd-ports-gnome-69f788343ba6a250e8125640acebb6334cf30085.zip
mail/nullmailer: Unbreak build with Clang 6 (C++14 by default)
inject.cc:221:3: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] X(Errors-To, T,F,F,F,F), // 5 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p483866_s340093/logs/nullmailer-1.13_3,1.log PR: 230496 Submitted by: Tod McQuillin <devin@spamcop.net>
Diffstat (limited to 'mail')
-rw-r--r--mail/nullmailer/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/nullmailer/Makefile b/mail/nullmailer/Makefile
index ecc4bb88b592..70325bf6787e 100644
--- a/mail/nullmailer/Makefile
+++ b/mail/nullmailer/Makefile
@@ -28,6 +28,7 @@ NULLMAIL_GID= 522
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--localstatedir=${LOCALSTATEDIR}
+USE_CXXSTD= gnu++98
USE_SUBMAKE= yes
USE_RC_SUBR= ${PORTNAME}