summaryrefslogtreecommitdiff
path: root/app-forensics/libewf/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-14 17:13:33 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-14 17:13:33 +0000
commit9952c2e40292adc3f6c83de86321c8cc9b28990a (patch)
treecd446367276d7a55ffcdbe34a54ff7923b4731d1 /app-forensics/libewf/files
parent55359b02f91dcac3d17e8ac072ea013843a586a9 (diff)
libewf gcc5 buildfix
Diffstat (limited to 'app-forensics/libewf/files')
-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