summaryrefslogtreecommitdiff
path: root/app-forensics/libewf/files/libewf-20140406-gcc5-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-forensics/libewf/files/libewf-20140406-gcc5-compat.patch')
-rw-r--r--app-forensics/libewf/files/libewf-20140406-gcc5-compat.patch11
1 files changed, 11 insertions, 0 deletions
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