Package: wmgtemp / 1.1-3

build_with_gcc5.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Build with gcc5.
Author: Chris Lamb <lamby@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797540
Last-Update: 2015-08-31

--- a/src/wmgeneral/list.h
+++ b/src/wmgeneral/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