diff options
Diffstat (limited to 'app-editors/lfhex/files/02-gcc-4.7.dpatch')
-rw-r--r-- | app-editors/lfhex/files/02-gcc-4.7.dpatch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-editors/lfhex/files/02-gcc-4.7.dpatch b/app-editors/lfhex/files/02-gcc-4.7.dpatch new file mode 100644 index 000000000000..0d58072d9574 --- /dev/null +++ b/app-editors/lfhex/files/02-gcc-4.7.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02-gcc-4.7.dpatch by gregor herrmann <gregoa@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: add missing include to avoid FTBFS with gcc 4.7 +## DP: Bug-Debian: http://bugs.debian.org/667238 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lfhex-0.42~/src/expr.h lfhex-0.42/src/expr.h +--- lfhex-0.42~/src/expr.h 2008-09-19 02:36:49.000000000 +0200 ++++ lfhex-0.42/src/expr.h 2012-05-07 17:03:22.788794002 +0200 +@@ -19,6 +19,7 @@ + */ + + #include <string> ++#include <sys/types.h> + + bool expr_eval( const std::string &str, off_t &value ); + |