diff options
Diffstat (limited to 'recipes-forensic/libewf/files/gcc5_fix.patch')
| -rw-r--r-- | recipes-forensic/libewf/files/gcc5_fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-forensic/libewf/files/gcc5_fix.patch b/recipes-forensic/libewf/files/gcc5_fix.patch new file mode 100644 index 0000000..0881f25 --- /dev/null +++ b/recipes-forensic/libewf/files/gcc5_fix.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | Upstream Status: pending | ||
| 2 | |||
| 3 | Don't use inline with gcc 5.0 | ||
| 4 | |||
| 5 | fixes: | ||
| 6 | undefined reference to `libuna_unicode_character_size_to_utf8' | ||
| 7 | |||
| 8 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
| 9 | |||
| 10 | Index: libuna/libuna_inline.h | ||
| 11 | =================================================================== | ||
| 12 | --- a/libuna/libuna_inline.h | ||
| 13 | +++ b/libuna/libuna_inline.h | ||
| 14 | @@ -27,7 +27,7 @@ | ||
| 15 | #if defined( _MSC_VER ) | ||
| 16 | #define LIBUNA_INLINE _inline | ||
| 17 | |||
| 18 | -#elif defined( __BORLANDC__ ) || defined( __clang__ ) | ||
| 19 | +#elif defined( __BORLANDC__ ) || defined( __clang__ ) || ( __GNUC__ > 4 ) | ||
| 20 | #define LIBUNA_INLINE /* inline */ | ||
| 21 | |||
| 22 | #else | ||
