13 lines
690 B
Diff
13 lines
690 B
Diff
|
diff -up gnupg-2.2.12/dirmngr/dns.h.build gnupg-2.2.12/dirmngr/dns.h
|
||
|
--- gnupg-2.2.12/dirmngr/dns.h.build 2017-08-28 12:22:54.000000000 +0200
|
||
|
+++ gnupg-2.2.12/dirmngr/dns.h 2019-02-04 14:46:53.420995232 +0100
|
||
|
@@ -154,7 +154,7 @@ DNS_PUBLIC int *dns_debug_p(void);
|
||
|
|
||
|
#define dns_quietinit(...) \
|
||
|
DNS_PRAGMA_PUSH DNS_PRAGMA_QUIET __VA_ARGS__ DNS_PRAGMA_POP
|
||
|
-#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4
|
||
|
+#elif ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4) && __GNUC__ < 9
|
||
|
#define DNS_PRAGMA_PUSH _Pragma("GCC diagnostic push")
|
||
|
#define DNS_PRAGMA_QUIET _Pragma("GCC diagnostic ignored \"-Woverride-init\"")
|
||
|
#define DNS_PRAGMA_POP _Pragma("GCC diagnostic pop")
|