diff options
author | joerg <joerg@pkgsrc.org> | 2013-04-27 23:05:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-04-27 23:05:27 +0000 |
commit | 9960ef0676acc596dc687c91564c5369213de930 (patch) | |
tree | 715825ef913dd4c063a90e90c5ae97f235ec6232 /audio | |
parent | cb62900597bf02ebe68adcd4e2b46bf2169070c1 (diff) | |
download | pkgsrc-9960ef0676acc596dc687c91564c5369213de930.tar.gz |
Fixer build with Clang's stricter format string warnings.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/easytag/distinfo | 4 | ||||
-rw-r--r-- | audio/easytag/patches/patch-src_log.h | 13 | ||||
-rw-r--r-- | audio/easytag/patches/patch-src_misc.c | 15 |
3 files changed, 31 insertions, 1 deletions
diff --git a/audio/easytag/distinfo b/audio/easytag/distinfo index 7dc5b7000b8..24eca618252 100644 --- a/audio/easytag/distinfo +++ b/audio/easytag/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.32 2013/02/11 08:56:39 wiz Exp $ +$NetBSD: distinfo,v 1.33 2013/04/27 23:05:27 joerg Exp $ SHA1 (easytag-2.1.8.tar.xz) = 7f9246b0eab97ed9739daf5356c89925634241a2 RMD160 (easytag-2.1.8.tar.xz) = 0b8ef3689730b2ae4fbf8131dbd1328bbf1da8a0 Size (easytag-2.1.8.tar.xz) = 2459496 bytes +SHA1 (patch-src_log.h) = e94fb4b930304610907d82311500ce322830b167 +SHA1 (patch-src_misc.c) = d1c6bdf0ee85a7a18a4891d121b6c1e6eb130a09 SHA1 (patch-src_wavpack__tag.c) = 7b4830930846818a8cdb869c6bc8f85d79d8b5be diff --git a/audio/easytag/patches/patch-src_log.h b/audio/easytag/patches/patch-src_log.h new file mode 100644 index 00000000000..bf8c53816e6 --- /dev/null +++ b/audio/easytag/patches/patch-src_log.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_log.h,v 1.1 2013/04/27 23:05:27 joerg Exp $ + +--- src/log.h.orig 2013-04-27 22:33:45.000000000 +0000 ++++ src/log.h +@@ -48,7 +48,7 @@ GtkWidget *Create_Log_Area (void); + + void Log_Clean_Log_List (void); + +-void Log_Print (Log_Error_Type error_type, gchar const *format, ...); ++void Log_Print (Log_Error_Type error_type, gchar const *format, ...) G_GNUC_PRINTF(2, 3); + + + #endif /* __LOG_H__ */ diff --git a/audio/easytag/patches/patch-src_misc.c b/audio/easytag/patches/patch-src_misc.c new file mode 100644 index 00000000000..2f31e10a8a7 --- /dev/null +++ b/audio/easytag/patches/patch-src_misc.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_misc.c,v 1.1 2013/04/27 23:05:27 joerg Exp $ + +--- src/misc.c.orig 2013-02-05 22:42:37.000000000 +0000 ++++ src/misc.c +@@ -875,9 +875,7 @@ Run_Audio_Player_Using_File_List (GList + + if ( !(program_path = Check_If_Executable_Exists(AUDIO_FILE_PLAYER)) ) + { +- gchar *msg = g_strdup_printf(_("The program '%s' cannot be found"),AUDIO_FILE_PLAYER); +- Log_Print(LOG_ERROR,msg); +- g_free(msg); ++ Log_Print(LOG_ERROR, _("The program '%s' cannot be found"),AUDIO_FILE_PLAYER); + return; + } + g_free(program_path); |