From c01a103d27726ca9e105a4e7438126e5c3ca273a Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sat, 23 May 2015 07:17:24 -0700 Subject: libewf: update to version 20140608 drop ubuntu patches, never used them. Fix GCC 5.0 build. Signed-off-by: Armin Kuster --- recipes-forensic/libewf/files/gcc5_fix.patch | 22 ++++++++++++++++++++++ recipes-forensic/libewf/libewf_20130416.bb | 26 -------------------------- recipes-forensic/libewf/libewf_20140608.bb | 24 ++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 26 deletions(-) create mode 100644 recipes-forensic/libewf/files/gcc5_fix.patch delete mode 100644 recipes-forensic/libewf/libewf_20130416.bb create mode 100644 recipes-forensic/libewf/libewf_20140608.bb 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 @@ +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 + +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 diff --git a/recipes-forensic/libewf/libewf_20130416.bb b/recipes-forensic/libewf/libewf_20130416.bb deleted file mode 100644 index c070b80..0000000 --- a/recipes-forensic/libewf/libewf_20130416.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "library with support for Expert Witness Compression Format" -LICENSE = "LGPLv3+" -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 \ - " -SRC_URI[orig.md5sum] = "3791d6de5910a0f6b4427cdf1e6bc663" -SRC_URI[orig.sha256sum] = "e0f14071665b24a8077a24f4cafbf092ad5ac1859f49994dc4e843e747ba7a89" -SRC_URI[dpatch.md5sum] = "57fb17b34344f741b52dff3ae11fbbd6" -SRC_URI[dpatch.sha256sum] = "988ee0a94f01d452cd227ed5c55401e7674dc6fa41da8358a6ad68e67175a5cc" - -inherit autotools-brokensep pkgconfig - -PACKAGECONFIG ??= "zlib ssl bz2" -PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib, zlib" -PACKAGECONFIG[bz2] = "--with-bzip2, --without-bzip2, bzip2, bzip2" -PACKAGECONFIG[ssl] = "--with-openssl, --without-openssl, openssl, openssl" -PACKAGECONFIG[fuse] = "--with-libfuse, --without-libfuse, fuse" -PACKAGECONFIG[python] = "--enable-python, --disable-python, python" - -EXTRA_OECONF += "--with-gnu-ld --disable-rpath" - -RDEPENDS_${PN} += " util-linux-libuuid" diff --git a/recipes-forensic/libewf/libewf_20140608.bb b/recipes-forensic/libewf/libewf_20140608.bb new file mode 100644 index 0000000..98ebcce --- /dev/null +++ b/recipes-forensic/libewf/libewf_20140608.bb @@ -0,0 +1,24 @@ +SUMMARY = "library with support for Expert Witness Compression Format" +LICENSE = "LGPLv3+" +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 \ + file://gcc5_fix.patch \ + " +SRC_URI[orig.md5sum] = "3791d6de5910a0f6b4427cdf1e6bc663" +SRC_URI[orig.sha256sum] = "e0f14071665b24a8077a24f4cafbf092ad5ac1859f49994dc4e843e747ba7a89" + +inherit autotools-brokensep pkgconfig + +PACKAGECONFIG ??= "zlib ssl bz2" +PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib, zlib" +PACKAGECONFIG[bz2] = "--with-bzip2, --without-bzip2, bzip2, bzip2" +PACKAGECONFIG[ssl] = "--with-openssl, --without-openssl, openssl, openssl" +PACKAGECONFIG[fuse] = "--with-libfuse, --without-libfuse, fuse" +PACKAGECONFIG[python] = "--enable-python, --disable-python, python" + +EXTRA_OECONF += "--with-gnu-ld --disable-rpath" + +RDEPENDS_${PN} += " util-linux-libuuid" -- cgit v1.2.3-54-g00ecf