diff options
author | Armin Kuster <akuster808@gmail.com> | 2015-05-23 07:17:24 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2015-06-25 07:16:05 -0700 |
commit | c01a103d27726ca9e105a4e7438126e5c3ca273a (patch) | |
tree | b3a5ad8b3159e0cd8c460add6d2e6045e089ee0a | |
parent | 3f95047ae1e1d0f7cba6f567458e9642ca12fa04 (diff) | |
download | meta-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>
-rw-r--r-- | recipes-forensic/libewf/files/gcc5_fix.patch | 22 | ||||
-rw-r--r-- | recipes-forensic/libewf/libewf_20140608.bb (renamed from recipes-forensic/libewf/libewf_20130416.bb) | 4 |
2 files changed, 23 insertions, 3 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 | ||
diff --git a/recipes-forensic/libewf/libewf_20130416.bb b/recipes-forensic/libewf/libewf_20140608.bb index c070b80..98ebcce 100644 --- a/recipes-forensic/libewf/libewf_20130416.bb +++ b/recipes-forensic/libewf/libewf_20140608.bb | |||
@@ -5,12 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=58c39b26c0549f8e1bb4122173f474cd" | |||
5 | DEPENDS = "virtual/gettext libtool" | 5 | DEPENDS = "virtual/gettext libtool" |
6 | 6 | ||
7 | SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/libe/${BPN}/${BPN}_${PV}.orig.tar.gz;name=orig \ | 7 | SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/libe/${BPN}/${BPN}_${PV}.orig.tar.gz;name=orig \ |
8 | http://archive.ubuntu.com/ubuntu/pool/universe/libe/${BPN}/${BPN}_${PV}-3.debian.tar.gz;name=dpatch \ | 8 | file://gcc5_fix.patch \ |
9 | " | 9 | " |
10 | SRC_URI[orig.md5sum] = "3791d6de5910a0f6b4427cdf1e6bc663" | 10 | SRC_URI[orig.md5sum] = "3791d6de5910a0f6b4427cdf1e6bc663" |
11 | SRC_URI[orig.sha256sum] = "e0f14071665b24a8077a24f4cafbf092ad5ac1859f49994dc4e843e747ba7a89" | 11 | SRC_URI[orig.sha256sum] = "e0f14071665b24a8077a24f4cafbf092ad5ac1859f49994dc4e843e747ba7a89" |
12 | SRC_URI[dpatch.md5sum] = "57fb17b34344f741b52dff3ae11fbbd6" | ||
13 | SRC_URI[dpatch.sha256sum] = "988ee0a94f01d452cd227ed5c55401e7674dc6fa41da8358a6ad68e67175a5cc" | ||
14 | 12 | ||
15 | inherit autotools-brokensep pkgconfig | 13 | inherit autotools-brokensep pkgconfig |
16 | 14 | ||