summaryrefslogtreecommitdiff
path: root/x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch')
-rw-r--r--x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch b/x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch
new file mode 100644
index 000000000000..2a532625ff8c
--- /dev/null
+++ b/x11-plugins/fsviewer/files/fsviewer-0.2.6-gcc5.patch
@@ -0,0 +1,11 @@
+--- fsviewer-app-0.2.6.orig/src/list.h
++++ fsviewer-app-0.2.6/src/list.h
+@@ -29,7 +29,7 @@
+ #ifndef __LIST_H_
+ #define __LIST_H_
+
+-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
++#if defined(__GNUC__) && !defined(__STRICT_ANSI__) && (__GNUC__ < 5)
+ # define INLINE inline
+ #else
+ # define INLINE