argyllcms: fix gcc6 build
This commit is contained in:
parent
edbc5e36c9
commit
8d218b7780
1 changed files with 12 additions and 0 deletions
12
srcpkgs/argyllcms/patches/fix-gcc6-attribute_numsup_h.patch
Normal file
12
srcpkgs/argyllcms/patches/fix-gcc6-attribute_numsup_h.patch
Normal file
|
@ -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, ...);
|
||||||
|
|
Loading…
Add table
Reference in a new issue