summaryrefslogtreecommitdiffstats
path: root/system/argyllcms/patches
diff options
context:
space:
mode:
author Nishant Limbachia2016-08-22 00:44:18 +0200
committer David Spencer2016-08-28 01:22:59 +0200
commit9b138f88f09aabb2f0c24fbdae5ce2bd19297720 (patch)
treefa2870cb59b7d3df40b2459d35dcfce4f637097a /system/argyllcms/patches
parent5dc4eccf20c96120b01cf01bc8dc7996570609ec (diff)
downloadslackbuilds-9b138f88f09aabb2f0c24fbdae5ce2bd19297720.tar.gz
system/argyllcms: Updated for version 1.8.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/argyllcms/patches')
-rw-r--r--system/argyllcms/patches/argyllcms-1.8.0-gcc5.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/argyllcms/patches/argyllcms-1.8.0-gcc5.patch b/system/argyllcms/patches/argyllcms-1.8.0-gcc5.patch
new file mode 100644
index 0000000000..28067455c3
--- /dev/null
+++ b/system/argyllcms/patches/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__ */