void-packages/srcpkgs/zabbix/patches/fix-libxml2_m4.patch
Jürgen Buchmüller 4bc2bb3e2e zabbix: update to 4.4.10 + fix libxml2 check
The m4/libxml2.m4 macro expects $PKG_CONFIG to contain the full path.
Patch it to look for /usr/bin/pkg-config even though a wrapper may
actually be used. For a more detailed description also see:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245613
2020-07-24 08:06:22 +02:00

11 lines
359 B
Diff

--- m4/libxml2.m4 2020-05-10 19:36:06.000000000 +0200
+++ m4/libxml2.m4 2020-07-24 07:58:12.642619506 +0200
@@ -52,7 +52,7 @@
AC_REQUIRE([PKG_PROG_PKG_CONFIG])
PKG_PROG_PKG_CONFIG()
- if test -x "$PKG_CONFIG"; then
+ if test -x "/usr/bin/$PKG_CONFIG"; then
LIBXML2_CFLAGS="`$PKG_CONFIG --cflags libxml-2.0`"