diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-12-29 22:59:01 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 656a421df085c7830a07f0865c4de4f9f4291596 (patch) | |
tree | 190ec358669486685c37a7201853c3a7c484dbcf /system/argyllcms/argyllcms-1.8.0-gcc5.patch | |
parent | c968bf123f82bcef51dd6dc6de6e9504e9b2429c (diff) | |
download | slackbuilds-656a421df085c7830a07f0865c4de4f9f4291596.tar.gz |
system/argyllcms: Fixed build with gcc-5.3.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/argyllcms/argyllcms-1.8.0-gcc5.patch')
-rw-r--r-- | system/argyllcms/argyllcms-1.8.0-gcc5.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/system/argyllcms/argyllcms-1.8.0-gcc5.patch b/system/argyllcms/argyllcms-1.8.0-gcc5.patch new file mode 100644 index 0000000000..28067455c3 --- /dev/null +++ b/system/argyllcms/argyllcms-1.8.0-gcc5.patch @@ -0,0 +1,20 @@ +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/ +--- 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__ */ |