summaryrefslogtreecommitdiffstats
path: root/recipes-forensic/libewf/files/gcc5_fix.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2015-05-23 07:17:24 -0700
committerArmin Kuster <akuster808@gmail.com>2015-06-25 07:16:05 -0700
commitc01a103d27726ca9e105a4e7438126e5c3ca273a (patch)
treeb3a5ad8b3159e0cd8c460add6d2e6045e089ee0a /recipes-forensic/libewf/files/gcc5_fix.patch
parent3f95047ae1e1d0f7cba6f567458e9642ca12fa04 (diff)
downloadmeta-security-c01a103d27726ca9e105a4e7438126e5c3ca273a.tar.gz
libewf: update to version 20140608
drop ubuntu patches, never used them. Fix GCC 5.0 build. Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-forensic/libewf/files/gcc5_fix.patch')
-rw-r--r--recipes-forensic/libewf/files/gcc5_fix.patch22
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 @@
1Upstream Status: pending
2
3Don't use inline with gcc 5.0
4
5fixes:
6undefined reference to `libuna_unicode_character_size_to_utf8'
7
8Signed-off-by: Armin Kuster <akuster808@gmail.com>
9
10Index: 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