aboutsummaryrefslogtreecommitdiff
path: root/mail/smtp-gated
diff options
context:
space:
mode:
authorFelippe de Meirelles Motta <lippe@FreeBSD.org>2013-03-06 17:18:45 +0000
committerFelippe de Meirelles Motta <lippe@FreeBSD.org>2013-03-06 17:18:45 +0000
commit4b92c0d68d2ed8fc9c7e046fc9b2bd849818d56e (patch)
treec216fd89eea7c729a76d0f67844e0da554ba8786 /mail/smtp-gated
parentda12e6723dd1adee8b0c5e4b081caecab544e684 (diff)
downloadports-4b92c0d68d2ed8fc9c7e046fc9b2bd849818d56e.tar.gz
ports-4b92c0d68d2ed8fc9c7e046fc9b2bd849818d56e.zip
Notes
Diffstat (limited to 'mail/smtp-gated')
-rw-r--r--mail/smtp-gated/Makefile3
-rw-r--r--mail/smtp-gated/files/patch-src__smtp-gated.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/mail/smtp-gated/Makefile b/mail/smtp-gated/Makefile
index 1c81f7c78cf8..13f2335a0a45 100644
--- a/mail/smtp-gated/Makefile
+++ b/mail/smtp-gated/Makefile
@@ -3,10 +3,11 @@
PORTNAME= smtp-gated
PORTVERSION= 1.4.20.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://software.klolik.org/smtp-gated/files/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danilogondolfo@gmail.com
COMMENT= Proxy for SMTP sessions with virus and spam scan
LICENSE= GPLv2
diff --git a/mail/smtp-gated/files/patch-src__smtp-gated.c b/mail/smtp-gated/files/patch-src__smtp-gated.c
new file mode 100644
index 000000000000..150864b95d0c
--- /dev/null
+++ b/mail/smtp-gated/files/patch-src__smtp-gated.c
@@ -0,0 +1,14 @@
+--- ../../smtp-gated-1.4.20.0/src/smtp-gated.c 2013-02-26 08:06:59.000000000 -0300
++++ src/smtp-gated.c 2013-02-28 09:32:47.000000000 -0300
+@@ -820,7 +820,11 @@
+ }
+ } /* cleanup() */
+
++#ifdef __clang__
++static inline void cleanup_exit(int code)
++#else
+ inline void cleanup_exit(int code)
++#endif
+ {
+ cleanup();
+ exit(code);