summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-09-10 12:24:03 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-09-10 12:24:04 +0200
commited234fb21a833b47f3541c3385000bc045fa27d3 (patch)
tree3f24faa06da0eaf2257f60cd10882753b26e9352 /sys-apps/man-db/files
parentapp-emulation/xen-tools: x86 stable (bug #643350) (diff)
downloadgentoo-ed234fb21a833b47f3541c3385000bc045fa27d3.tar.gz
gentoo-ed234fb21a833b47f3541c3385000bc045fa27d3.tar.bz2
gentoo-ed234fb21a833b47f3541c3385000bc045fa27d3.zip
sys-apps/man-db: fix build with berkdb
Closes: https://github.com/gentoo/gentoo/pull/9546 Closes: https://bugs.gentoo.org/662588 Package-Manager: Portage-2.3.45, Repoman-2.3.10
Diffstat (limited to 'sys-apps/man-db/files')
-rw-r--r--sys-apps/man-db/files/man-db-2.8.4-berkdb_build_fix.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-apps/man-db/files/man-db-2.8.4-berkdb_build_fix.patch b/sys-apps/man-db/files/man-db-2.8.4-berkdb_build_fix.patch
new file mode 100644
index 000000000000..30052f268157
--- /dev/null
+++ b/sys-apps/man-db/files/man-db-2.8.4-berkdb_build_fix.patch
@@ -0,0 +1,27 @@
+From dd0f554b5c1d563f9ee625c19c8745d8982e00e3 Mon Sep 17 00:00:00 2001
+From: Colin Watson <cjwatson@debian.org>
+Date: Thu, 2 Aug 2018 10:34:00 +0100
+Subject: Fix build with Berkeley DB
+
+Fixes Savannah bug #54425.
+
+* libdb/db_btree.c: Include <stdlib.h> for free.
+---
+ libdb/db_btree.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libdb/db_btree.c b/libdb/db_btree.c
+index fdd9b15..4469bf6 100644
+--- a/libdb/db_btree.c
++++ b/libdb/db_btree.c
+@@ -28,6 +28,7 @@
+ /* below this line are routines only useful for the BTREE interface */
+ #ifdef BTREE
+
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <errno.h>
+ #include <string.h>
+--
+cgit v1.0-41-gc330
+