freebsd-ports/mail/smtp-gated/files/patch-src__smtp-gated.c
Felippe de Meirelles Motta 4b92c0d68d - Pass maintainership to submitter.
- Added one patch to fix build with CLANG.

PR:		ports/176525
Submitted by:	Danilo Egea Gondolfo <danilogondolfo@gmail.com> (maintainer)
2013-03-06 17:18:45 +00:00

14 lines
328 B
C

--- ../../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);