belle-sip: actually add the patch

This commit is contained in:
John 2019-12-09 12:45:50 +01:00
parent ac3a28b9cf
commit db58e8f3ee

View file

@ -0,0 +1,11 @@
--- src/dns.h 2019-12-05 13:30:14.183293978 +0100
+++ - 2019-12-05 13:33:17.144413838 +0100
@@ -158,7 +158,7 @@
#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")