summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mp3gain/files/1.5.1-format-string.patch')
-rw-r--r--media-sound/mp3gain/files/1.5.1-format-string.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/mp3gain/files/1.5.1-format-string.patch b/media-sound/mp3gain/files/1.5.1-format-string.patch
new file mode 100644
index 000000000000..a91d82f404f5
--- /dev/null
+++ b/media-sound/mp3gain/files/1.5.1-format-string.patch
@@ -0,0 +1,12 @@
+diff -uNr work.ORIG//rg_error.c work/rg_error.c
+--- work.ORIG//rg_error.c 2010-05-02 15:42:47.056116105 +0100
++++ work/rg_error.c 2010-05-02 15:43:26.851999890 +0100
+@@ -40,7 +40,7 @@
+ {
+ #ifndef asWIN32DLL
+ gSuccess = 0;
+- fprintf(stdout, localerrstr);
++ fprintf(stdout, "%s", localerrstr);
+ #else
+ //send message to DLL's parent
+ mp3gainerr = localerrnum;