diff --git a/srcpkgs/argyllcms/patches/fix-gcc6-attribute_numsup_h.patch b/srcpkgs/argyllcms/patches/fix-gcc6-attribute_numsup_h.patch new file mode 100644 index 00000000000..a60961ebff5 --- /dev/null +++ b/srcpkgs/argyllcms/patches/fix-gcc6-attribute_numsup_h.patch @@ -0,0 +1,12 @@ + +--- numlib/numsup.h 2015-10-26 05:17:33.000000000 +0100 ++++ numlib/numsup.h 2016-10-04 10:10:28.732000000 +0200 +@@ -324,7 +324,7 @@ + #define error_program g_log->tag + extern void set_exe_path(char *arg0); + +-extern void ATTRIBUTE_NORETURN error(char *fmt, ...); ++extern void error(char *fmt, ...) __attribute__((noreturn)); + extern void warning(char *fmt, ...); + extern void verbose(int level, char *fmt, ...); +