From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-fs/ext3grep/files: ext3grep-0.10.2-include-unistd_h-for-sysconf.patch |
Date: | Sat, 03 Nov 2012 10:04:01 |
Message-Id: | 20121103100344.6CFE1215FF@flycatcher.gentoo.org |
1 | ssuominen 12/11/03 10:03:44 |
2 | |
3 | Added: ext3grep-0.10.2-include-unistd_h-for-sysconf.patch |
4 | Log: |
5 | Fix building with recent toolchain wrt #422789 by Diego Elio Pettenò. Missing dependencies of e2fsprogs, os-headers, and pkg-config. |
6 | |
7 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-fs/ext3grep/files/ext3grep-0.10.2-include-unistd_h-for-sysconf.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ext3grep/files/ext3grep-0.10.2-include-unistd_h-for-sysconf.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ext3grep/files/ext3grep-0.10.2-include-unistd_h-for-sysconf.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: ext3grep-0.10.2-include-unistd_h-for-sysconf.patch |
16 | =================================================================== |
17 | http://bugs.gentoo.org/422789 |
18 | |
19 | --- src/init_consts.cc |
20 | +++ src/init_consts.cc |
21 | @@ -27,6 +27,10 @@ |
22 | #include "debug.h" |
23 | #endif |
24 | |
25 | +#if USE_MMAP |
26 | +#include <unistd.h> /* sysconf */ |
27 | +#endif |
28 | + |
29 | #include "globals.h" |
30 | #include "superblock.h" |
31 | #include "forward_declarations.h" |