From 9952c2e40292adc3f6c83de86321c8cc9b28990a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 14 Nov 2016 17:13:33 +0000 Subject: libewf gcc5 buildfix --- app-forensics/libewf/files/libewf-20140406-gcc5-compat.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app-forensics/libewf/files/libewf-20140406-gcc5-compat.patch (limited to 'app-forensics/libewf/files') diff --git a/app-forensics/libewf/files/libewf-20140406-gcc5-compat.patch b/app-forensics/libewf/files/libewf-20140406-gcc5-compat.patch new file mode 100644 index 00000000..094ac8ea --- /dev/null +++ b/app-forensics/libewf/files/libewf-20140406-gcc5-compat.patch @@ -0,0 +1,11 @@ +--- libuna/libuna_inline.h.orig 2016-03-31 11:53:52.655941638 -0700 ++++ libuna/libuna_inline.h 2016-03-31 11:55:10.404944126 -0700 +@@ -27,7 +27,7 @@ + #if defined( _MSC_VER ) + #define LIBUNA_INLINE _inline + +-#elif defined( __BORLANDC__ ) || defined( __clang__ ) ++#elif defined( __BORLANDC__ ) || defined( __clang__ ) || ( defined( __GNUC__ ) && __GNUC__ >= 5 ) + #define LIBUNA_INLINE /* inline */ + + #else -- cgit v1.2.3