From a88a84f5fe03b943527267114cceffba2a1f0f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 5 Jul 2015 07:37:58 +0200 Subject: Add 30_gcc5.patch --- debian/patches/30_gcc5.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/patches/30_gcc5.patch (limited to 'debian/patches/30_gcc5.patch') diff --git a/debian/patches/30_gcc5.patch b/debian/patches/30_gcc5.patch new file mode 100644 index 0000000..2806745 --- /dev/null +++ b/debian/patches/30_gcc5.patch @@ -0,0 +1,20 @@ +Description: Fix FTBFS with GCC 5 +Author: James Cowgill +Bug-Debian: https://bugs.debian.org/777779 +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/icc/icc.h ++++ b/icc/icc.h +@@ -100,7 +100,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 /* !__STDC_VERSION__ */ -- cgit v1.2.3