diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-25 08:19:28 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-25 08:19:28 +0000 |
commit | ce071d2fdd8b7199bf84126b41a6ec31924e0d7c (patch) | |
tree | c290136a048fea83d384ba64333e40cf296ffa4b /audio/wavegain/files/patch-misc.c | |
parent | mail/thunderbird: update to 78.3.1 (rc1) (diff) |
Fix build with -fno-common
While here fix compiler warnings
Notes
Notes:
svn path=/head/; revision=549996
Diffstat (limited to 'audio/wavegain/files/patch-misc.c')
-rw-r--r-- | audio/wavegain/files/patch-misc.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/wavegain/files/patch-misc.c b/audio/wavegain/files/patch-misc.c new file mode 100644 index 000000000000..c71a357f24db --- /dev/null +++ b/audio/wavegain/files/patch-misc.c @@ -0,0 +1,12 @@ +--- misc.c.orig 2006-06-04 21:47:38 UTC ++++ misc.c +@@ -39,8 +39,7 @@ void file_error(const char* message, ...) + vfprintf(stderr, message, args); + va_end(args); + +- fprintf(stderr, strerror(err_num)); +- fprintf(stderr, "\n"); ++ fprintf(stderr, "%s\n", strerror(err_num)); + } + + |