aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2017-01-19 19:04:54 +0800
committervsevolod <vsevolod@FreeBSD.org>2017-01-19 19:04:54 +0800
commit44c4968a50b022d360c566a473bafbf35eece3a0 (patch)
treed1c2ed80f274a21a35ad129bffb895955bb79150 /mail
parent0c6ac952acc28096fc3cd0545c74b6a7d844b75f (diff)
downloadfreebsd-ports-gnome-44c4968a50b022d360c566a473bafbf35eece3a0.tar.gz
freebsd-ports-gnome-44c4968a50b022d360c566a473bafbf35eece3a0.tar.zst
freebsd-ports-gnome-44c4968a50b022d360c566a473bafbf35eece3a0.zip
- Update to 1.4.3
- Fix build with gcc 4.2 MFH: 2017Q1
Diffstat (limited to 'mail')
-rw-r--r--mail/rspamd/Makefile2
-rw-r--r--mail/rspamd/distinfo6
-rw-r--r--mail/rspamd/files/patch-CMakeLists.txt4
-rw-r--r--mail/rspamd/files/patch-contrib_t1ha_t1ha.h12
4 files changed, 18 insertions, 6 deletions
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index 797fdb9d2d65..d1e17fb49ef9 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= rspamd
-PORTVERSION= 1.4.2
+PORTVERSION= 1.4.3
CATEGORIES= mail
MASTER_SITES= http://rspamd.com/downloads/
diff --git a/mail/rspamd/distinfo b/mail/rspamd/distinfo
index b6ba00c0cb24..40677f7a26e6 100644
--- a/mail/rspamd/distinfo
+++ b/mail/rspamd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1483709680
-SHA256 (rspamd-1.4.2.tar.xz) = d106f98a632ffc5cbc5e7482067d568db7687a2ffb078f97f528f9202f90a5a1
-SIZE (rspamd-1.4.2.tar.xz) = 1777596
+TIMESTAMP = 1484822631
+SHA256 (rspamd-1.4.3.tar.xz) = 144cddc25ce8d8519b289d2c00d34b37c931f3c7293e2b0d16c408680021a1bf
+SIZE (rspamd-1.4.3.tar.xz) = 1780104
diff --git a/mail/rspamd/files/patch-CMakeLists.txt b/mail/rspamd/files/patch-CMakeLists.txt
index 065ba11b3a10..cf757f0ba225 100644
--- a/mail/rspamd/files/patch-CMakeLists.txt
+++ b/mail/rspamd/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2016-10-19 16:09:11 UTC
+--- CMakeLists.txt.orig 2017-01-17 14:11:25 UTC
+++ CMakeLists.txt
-@@ -1261,6 +1261,23 @@ ELSE(WANT_SYSTEMD_UNITS MATCHES "ON")
+@@ -1286,6 +1286,23 @@ ELSE(WANT_SYSTEMD_UNITS MATCHES "ON")
ENDIF(WANT_SYSTEMD_UNITS MATCHES "ON")
IF(BUILD_PORT)
INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${CONFDIR} "rspamd.conf" ".sample")
diff --git a/mail/rspamd/files/patch-contrib_t1ha_t1ha.h b/mail/rspamd/files/patch-contrib_t1ha_t1ha.h
new file mode 100644
index 000000000000..ec6e25bddecf
--- /dev/null
+++ b/mail/rspamd/files/patch-contrib_t1ha_t1ha.h
@@ -0,0 +1,12 @@
+--- contrib/t1ha/t1ha.h.orig 2017-01-19 10:58:36 UTC
++++ contrib/t1ha/t1ha.h
+@@ -44,6 +44,9 @@
+ #include <string.h>
+ #include <stddef.h>
+
++#ifndef __has_attribute
++#define __has_attribute(x) (0)
++#endif
+ #ifndef __has_builtin
+ #define __has_builtin(x) (0)
+ #endif