summaryrefslogtreecommitdiff
path: root/zabbix-configure-sscanf.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-01-28 08:57:15 +0000
committerCoprDistGit <infra@openeuler.org>2024-01-28 08:57:15 +0000
commit144e32cee26b34efec817728a960fb49114b3db3 (patch)
treeab6788b78de79e54e91195eebb2e8267bc5c7f41 /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..1e66baf
--- /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
+@@ -952,6 +952,7 @@
+ AC_MSG_CHECKING(for long long format)
+ AC_RUN_IFELSE([AC_LANG_SOURCE([[
+ #include <sys/types.h>
++#include <stdio.h>
+ int main()
+ {
+ uint64_t i;