diff options
Diffstat (limited to 'debian/patches/0125_gcc5.patch')
-rw-r--r-- | debian/patches/0125_gcc5.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0125_gcc5.patch b/debian/patches/0125_gcc5.patch new file mode 100644 index 0000000..677fb44 --- /dev/null +++ b/debian/patches/0125_gcc5.patch @@ -0,0 +1,22 @@ +Description: Fix FTBFS with GCC 5 +Author: James Cowgill <james410@cowgill.org.uk> +Bug-Debian: https://bugs.debian.org/777779 +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/icc/icc.h +=================================================================== +--- trunk.orig/icc/icc.h ++++ trunk/icc/icc.h +@@ -131,7 +131,11 @@ + #define CF64PREC "LL" /* Constant precision specifier */ + + #ifndef ATTRIBUTE_NORETURN ++#ifdef _MSC_VER + # define ATTRIBUTE_NORETURN __declspec(noreturn) ++#else ++# define ATTRIBUTE_NORETURN __attribute__((noreturn)) ++#endif + #endif + + #else /* !_MSC_VER */ |