summaryrefslogtreecommitdiff
path: root/zabbix-configure-sscanf.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-22 07:42:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-22 07:42:22 +0000
commitd516352a45d3bae02cdf2e45f911bf284160f4e2 (patch)
tree241e942c09addefcfa2fbce5bba6d4debfaa38d0 /zabbix-configure-sscanf.patch
parentf6d28d7c04688a8470e3652b1532006c2462cb21 (diff)
automatic import of zabbix
Diffstat (limited to 'zabbix-configure-sscanf.patch')
-rw-r--r--zabbix-configure-sscanf.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/zabbix-configure-sscanf.patch b/zabbix-configure-sscanf.patch
new file mode 100644
index 0000000..a872ff5
--- /dev/null
+++ b/zabbix-configure-sscanf.patch
@@ -0,0 +1,16 @@
+sscanf needs <stdio.h> for the prototype. Submitted upstream here:
+
+ <https://support.zabbix.com/browse/ZBX-21946>
+
+diff --git a/configure.ac b/configure.ac
+index 0588004f9f89cdd5..bbc60e3a28369f9f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1087,6 +1087,7 @@ AC_MSG_CHECKING(for long long format)
+ AC_TRY_RUN(
+ [
+ #include <sys/types.h>
++#include <stdio.h>
+ int main()
+ {
+ uint64_t i;