/[gentoo-x86]/sys-fs/e2fsprogs/files/e2fsprogs-1.42.1-libext2fs-config.patch
Gentoo

Contents of /sys-fs/e2fsprogs/files/e2fsprogs-1.42.1-libext2fs-config.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Feb 24 17:20:35 2012 UTC (3 years, 2 months ago) by vapier
Branch: MAIN
Version bump #405331 by teidakankan.

(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)

1 From c699110b4b08e7fdee24d2b895403f15dad1502c Mon Sep 17 00:00:00 2001
2 From: Mike Frysinger <vapier@gentoo.org>
3 Date: Fri, 24 Feb 2012 12:08:43 -0500
4 Subject: [PATCH] libext2fs: include config.h for HAVE_xxx defines
5
6 We check HAVE_UNISTD_H but haven't included config.h yet, so we end up
7 hitting warnings about missing prototypes for close/read/etc... funcs.
8
9 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
10 ---
11 lib/ext2fs/mmp.c | 2 ++
12 1 files changed, 2 insertions(+), 0 deletions(-)
13
14 diff --git a/lib/ext2fs/mmp.c b/lib/ext2fs/mmp.c
15 index b27d9a4..49a11da 100644
16 --- a/lib/ext2fs/mmp.c
17 +++ b/lib/ext2fs/mmp.c
18 @@ -13,6 +13,8 @@
19 #define _GNU_SOURCE
20 #endif
21
22 +#include "config.h"
23 +
24 #if HAVE_UNISTD_H
25 #include <unistd.h>
26 #endif
27 --
28 1.7.8.4

  ViewVC Help
Powered by ViewVC 1.1.20