diff options
author | Koop Mast <kwm@FreeBSD.org> | 2015-08-08 11:26:39 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2015-08-08 11:26:39 +0000 |
commit | 412dde70e3fa7a5582ea85c79bed1a9d41fe810c (patch) | |
tree | 261bb43ecaeb33c4fef8d536b839765d1895b748 /graphics/argyllcms/files/patch-gcc5 | |
parent | biology/seqtools: 4.35 -> 4.36 (diff) |
Update agryllcms to 1.7.0.
Add patch to fix the build with gcc 5 [1]
Submitted by: marino@ [1]
Obtained from: debian [1]
Notes
Notes:
svn path=/head/; revision=393724
Diffstat (limited to 'graphics/argyllcms/files/patch-gcc5')
-rw-r--r-- | graphics/argyllcms/files/patch-gcc5 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/argyllcms/files/patch-gcc5 b/graphics/argyllcms/files/patch-gcc5 new file mode 100644 index 000000000000..96961ddd3737 --- /dev/null +++ b/graphics/argyllcms/files/patch-gcc5 @@ -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/ +--- icc/icc.h ++++ 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__ */ |