]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/collectd-4.10.9-fix-glibc-headers.patch
collected: Fix build with glibc 2.36
[people/pmueller/ipfire-2.x.git] / src / patches / collectd-4.10.9-fix-glibc-headers.patch
diff --git a/src/patches/collectd-4.10.9-fix-glibc-headers.patch b/src/patches/collectd-4.10.9-fix-glibc-headers.patch
new file mode 100644 (file)
index 0000000..fd05c4a
--- /dev/null
@@ -0,0 +1,10 @@
+--- collectd-4.10.9/src/utils_mount.c~ 2022-08-10 13:45:39.424289940 +0000
++++ collectd-4.10.9/src/utils_mount.c  2022-08-10 13:45:58.224239495 +0000
+@@ -31,6 +31,7 @@
+ #include "plugin.h"
+ #include "utils_mount.h"
++#undef HAVE_XFS_XQM_H
+ #if HAVE_XFS_XQM_H
+ # include <xfs/xqm.h>
+ #define XFS_SUPER_MAGIC_STR "XFSB"