summaryrefslogtreecommitdiff
path: root/mail-filter/libmilter/files/libmilter-1.0.2_p3-c23-bool.patch
blob: 639967e83910f6249230b714047875a06468e7c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Building mail-filter/opendkim without this patch would fail because
mfapi.h doesn't include libmilter's own config header which defines
SM_CONF_STDBOOL_H.

We certainly only care about >= C99 compilers so we can just always
take that path.

https://bugs.gentoo.org/944138
--- a/include/libmilter/mfapi.h
+++ b/include/libmilter/mfapi.h
@@ -89,7 +89,7 @@ typedef int	sfsistat;
 # endif
 #endif /* __P */
 
-#if SM_CONF_STDBOOL_H
+#if 1 /* SM_CONF_STDBOOL_H */
 # include <stdbool.h>
 #else /* SM_CONF_STDBOOL_H */
 # ifndef __cplusplus