pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/sendmail build fix for clang
details: https://anonhg.NetBSD.org/pkgsrc/rev/99778e65bc59
branches: trunk
changeset: 639629:99778e65bc59
user: jnemeth <jnemeth%pkgsrc.org@localhost>
date: Fri Sep 19 21:24:05 2014 +0000
description:
build fix for clang
diffstat:
mail/sendmail/Makefile | 4 ++--
mail/sendmail/patches/patch-bg | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r dc38ddbecb2e -r 99778e65bc59 mail/sendmail/Makefile
--- a/mail/sendmail/Makefile Fri Sep 19 21:21:16 2014 +0000
+++ b/mail/sendmail/Makefile Fri Sep 19 21:24:05 2014 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.125 2014/06/21 18:39:27 jnemeth Exp $
+# $NetBSD: Makefile,v 1.126 2014/09/19 21:24:05 jnemeth Exp $
PKGNAME= sendmail-${DIST_VERS}
-PKGREVISION= 3
+PKGREVISION= 4
COMMENT= The well known Mail Transport Agent
CONFLICTS+= courier-mta-[0-9]* fastforward>=0.51nb2 postfix-[0-9]*
diff -r dc38ddbecb2e -r 99778e65bc59 mail/sendmail/patches/patch-bg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sendmail/patches/patch-bg Fri Sep 19 21:24:05 2014 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-bg,v 1.1 2014/09/19 21:24:05 jnemeth Exp $
+
+--- include/sm/config.h.orig 2014-03-06 17:31:29.000000000 +0000
++++ include/sm/config.h
+@@ -24,16 +24,14 @@
+
+ /*
+ ** SM_CONF_STDBOOL_H is 1 if <stdbool.h> exists
+-**
+-** Note, unlike gcc, clang doesn't apply full prototypes to K&R definitions.
+ */
+
+ # ifndef SM_CONF_STDBOOL_H
+-# if !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
++# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+ # define SM_CONF_STDBOOL_H 1
+-# else /* !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
++# else /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
+ # define SM_CONF_STDBOOL_H 0
+-# endif /* !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
++# endif /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
+ # endif /* ! SM_CONF_STDBOOL_H */
+
+ /*
Home |
Main Index |
Thread Index |
Old Index