mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
libewf: update to version 20140608
drop ubuntu patches, never used them. Fix GCC 5.0 build. Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
22
recipes-forensic/libewf/files/gcc5_fix.patch
Normal file
22
recipes-forensic/libewf/files/gcc5_fix.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
Upstream Status: pending
|
||||
|
||||
Don't use inline with gcc 5.0
|
||||
|
||||
fixes:
|
||||
undefined reference to `libuna_unicode_character_size_to_utf8'
|
||||
|
||||
Signed-off-by: Armin Kuster <akuster808@gmail.com>
|
||||
|
||||
Index: libuna/libuna_inline.h
|
||||
===================================================================
|
||||
--- a/libuna/libuna_inline.h
|
||||
+++ b/libuna/libuna_inline.h
|
||||
@@ -27,7 +27,7 @@
|
||||
#if defined( _MSC_VER )
|
||||
#define LIBUNA_INLINE _inline
|
||||
|
||||
-#elif defined( __BORLANDC__ ) || defined( __clang__ )
|
||||
+#elif defined( __BORLANDC__ ) || defined( __clang__ ) || ( __GNUC__ > 4 )
|
||||
#define LIBUNA_INLINE /* inline */
|
||||
|
||||
#else
|
||||
@@ -5,12 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=58c39b26c0549f8e1bb4122173f474cd"
|
||||
DEPENDS = "virtual/gettext libtool"
|
||||
|
||||
SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/libe/${BPN}/${BPN}_${PV}.orig.tar.gz;name=orig \
|
||||
http://archive.ubuntu.com/ubuntu/pool/universe/libe/${BPN}/${BPN}_${PV}-3.debian.tar.gz;name=dpatch \
|
||||
file://gcc5_fix.patch \
|
||||
"
|
||||
SRC_URI[orig.md5sum] = "3791d6de5910a0f6b4427cdf1e6bc663"
|
||||
SRC_URI[orig.sha256sum] = "e0f14071665b24a8077a24f4cafbf092ad5ac1859f49994dc4e843e747ba7a89"
|
||||
SRC_URI[dpatch.md5sum] = "57fb17b34344f741b52dff3ae11fbbd6"
|
||||
SRC_URI[dpatch.sha256sum] = "988ee0a94f01d452cd227ed5c55401e7674dc6fa41da8358a6ad68e67175a5cc"
|
||||
|
||||
inherit autotools-brokensep pkgconfig
|
||||
|
||||
Reference in New Issue
Block a user