diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2022-12-15 10:48:47 +0300 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2022-12-15 10:48:54 +0300 |
commit | bfb379b65e263532855151e6fbe754c2c54bcfaf (patch) | |
tree | 4478d10943c4ed49044febe0910496cfc97df59f /net-proxy/squidguard/files | |
parent | dev-ruby/test-unit: add 3.5.7 (diff) | |
download | gentoo-bfb379b65e263532855151e6fbe754c2c54bcfaf.tar.gz gentoo-bfb379b65e263532855151e6fbe754c2c54bcfaf.tar.bz2 gentoo-bfb379b65e263532855151e6fbe754c2c54bcfaf.zip |
net-proxy/squidguard: attemp to handle build failure
Bug: https://bugs.gentoo.org/871228
Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Diffstat (limited to 'net-proxy/squidguard/files')
-rw-r--r-- | net-proxy/squidguard/files/squidguard-1.6.0-stdlib.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-proxy/squidguard/files/squidguard-1.6.0-stdlib.patch b/net-proxy/squidguard/files/squidguard-1.6.0-stdlib.patch new file mode 100644 index 000000000000..51489b32de5e --- /dev/null +++ b/net-proxy/squidguard/files/squidguard-1.6.0-stdlib.patch @@ -0,0 +1,22 @@ +--- a/configure.ac 2022-12-15 10:33:13.845801113 +0300 ++++ b/configure.ac 2022-12-15 10:33:39.828949903 +0300 +@@ -342,6 +342,9 @@ + LIBS="$LIBS -ldb" + AC_RUN_IFELSE([AC_LANG_SOURCE([[ + #include <db.h> ++ #ifdef HAVE_STDLIB_H ++ #include <stdlib.h> ++ #endif + int main() + { + int major, minor, patch; +@@ -377,6 +378,9 @@ + + AC_RUN_IFELSE([AC_LANG_SOURCE([[ + #include <db.h> ++ #ifdef HAVE_STDLIB_H ++ #include <stdlib.h> ++ #endif + int main() + { + int major, minor, patch; |