Contents of /trunk/man-db/patches/man-db-2.8.4-berkdb-stdlib-ftbfs.patch
Parent Directory | Revision Log
Revision 3260 -
(show annotations)
(download)
Fri Nov 30 06:57:53 2018 UTC (5 years, 9 months ago) by niro
File size: 661 byte(s)
Fri Nov 30 06:57:53 2018 UTC (5 years, 9 months ago) by niro
File size: 661 byte(s)
-added ftbfs for berkeley db
1 | From dd0f554b5c1d563f9ee625c19c8745d8982e00e3 Mon Sep 17 00:00:00 2001 |
2 | From: Colin Watson <cjwatson@debian.org> |
3 | Date: Thu, 2 Aug 2018 10:34:00 +0100 |
4 | Subject: Fix build with Berkeley DB |
5 | |
6 | Fixes Savannah bug #54425. |
7 | |
8 | * libdb/db_btree.c: Include <stdlib.h> for free. |
9 | --- |
10 | libdb/db_btree.c | 1 + |
11 | 1 file changed, 1 insertion(+) |
12 | |
13 | diff --git a/libdb/db_btree.c b/libdb/db_btree.c |
14 | index fdd9b15..4469bf6 100644 |
15 | --- a/libdb/db_btree.c |
16 | +++ b/libdb/db_btree.c |
17 | @@ -28,6 +28,7 @@ |
18 | /* below this line are routines only useful for the BTREE interface */ |
19 | #ifdef BTREE |
20 | |
21 | +#include <stdlib.h> |
22 | #include <stdio.h> |
23 | #include <errno.h> |
24 | #include <string.h> |
25 | -- |
26 | cgit v1.0-41-gc330 |
27 |