summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-11-03 10:03:44 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-11-03 10:03:44 +0000
commitab7c63d69499e998b53da8d74709098ed4302cdb (patch)
treead04fec1bc73171f9fd24273e0731d425c5d042d /sys-fs/ext3grep/files
parentold (diff)
downloadgentoo-2-ab7c63d69499e998b53da8d74709098ed4302cdb.tar.gz
gentoo-2-ab7c63d69499e998b53da8d74709098ed4302cdb.tar.bz2
gentoo-2-ab7c63d69499e998b53da8d74709098ed4302cdb.zip
Fix building with recent toolchain wrt #422789 by Diego Elio Pettenò. Missing dependencies of e2fsprogs, os-headers, and pkg-config.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs/ext3grep/files')
-rw-r--r--sys-fs/ext3grep/files/ext3grep-0.10.2-include-unistd_h-for-sysconf.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-fs/ext3grep/files/ext3grep-0.10.2-include-unistd_h-for-sysconf.patch b/sys-fs/ext3grep/files/ext3grep-0.10.2-include-unistd_h-for-sysconf.patch
new file mode 100644
index 000000000000..bf38c27e7095
--- /dev/null
+++ b/sys-fs/ext3grep/files/ext3grep-0.10.2-include-unistd_h-for-sysconf.patch
@@ -0,0 +1,15 @@
+http://bugs.gentoo.org/422789
+
+--- src/init_consts.cc
++++ src/init_consts.cc
+@@ -27,6 +27,10 @@
+ #include "debug.h"
+ #endif
+
++#if USE_MMAP
++#include <unistd.h> /* sysconf */
++#endif
++
+ #include "globals.h"
+ #include "superblock.h"
+ #include "forward_declarations.h"