Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/xfsdump/files: xfsdump-3.0.4-headers.patch
Date: Sun, 29 Aug 2010 22:22:01
Message-Id: 20100829222149.42EEC20054@flycatcher.gentoo.org
1 vapier 10/08/29 22:21:49
2
3 Added: xfsdump-3.0.4-headers.patch
4 Log:
5 Fix building with glibc-2.12.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-fs/xfsdump/files/xfsdump-3.0.4-headers.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/xfsdump/files/xfsdump-3.0.4-headers.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/xfsdump/files/xfsdump-3.0.4-headers.patch?rev=1.1&content-type=text/plain
13
14 Index: xfsdump-3.0.4-headers.patch
15 ===================================================================
16 newer glibc requires explicit sys/stat.h inclusion when you use things
17 from that header
18
19 --- xfsdump-3.0.4/invutil/cmenu.c
20 +++ xfsdump-3.0.4/invutil/cmenu.c
21 @@ -21,6 +21,7 @@
22
23 #include <ncurses.h>
24 #include <signal.h>
25 +#include <sys/stat.h>
26
27 #include "types.h"
28 #include "mlog.h"
29 --- xfsdump-3.0.4/invutil/invidx.c
30 +++ xfsdump-3.0.4/invutil/invidx.c
31 @@ -21,6 +21,7 @@
32
33 #include <ncurses.h>
34 #include <sys/mman.h>
35 +#include <sys/stat.h>
36
37 #include "types.h"
38 #include "mlog.h"
39 --- xfsdump-3.0.4/invutil/stobj.c
40 +++ xfsdump-3.0.4/invutil/stobj.c
41 @@ -20,6 +20,7 @@
42 #include <xfs/jdm.h>
43 #include <ncurses.h>
44 #include <sys/mman.h>
45 +#include <sys/stat.h>
46
47 #include "types.h"
48 #include "mlog.h"