summaryrefslogtreecommitdiff
path: root/mp3info-rmc-build.patch
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2015-12-12 22:23:26 (GMT)
committerArkadiusz Miśkiewicz2015-12-12 22:23:26 (GMT)
commit963c5e585dec608a3a7a5115694d3b6f01249484 (patch)
treef8070b4dfef1faa2786bb7dd1dbcaf20da286eae /mp3info-rmc-build.patch
parent97a1e0a058e643a3166f65c7b6afbd6833f3866f (diff)
downloadmp3info-rmc-963c5e585dec608a3a7a5115694d3b6f01249484.zip
mp3info-rmc-963c5e585dec608a3a7a5115694d3b6f01249484.tar.gz
Diffstat (limited to 'mp3info-rmc-build.patch')
-rw-r--r--mp3info-rmc-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/mp3info-rmc-build.patch b/mp3info-rmc-build.patch
new file mode 100644
index 0000000..0316f3c
--- /dev/null
+++ b/mp3info-rmc-build.patch
@@ -0,0 +1,20 @@
+--- mp3info-0.8.5a/textfunc.c~ 2006-11-06 09:59:12.000000000 +0100
++++ mp3info-0.8.5a/textfunc.c 2015-12-12 23:22:24.349626380 +0100
+@@ -227,7 +227,7 @@ void format_output (char *format_string,
+
+ while((percent=strchr(format,'%'))) {
+ *percent=0;
+- printf(format);
++ printf("%s", format);
+ *percent='%';
+ code=percent+1;
+ while(*code && (code[0] != '%' && !isalpha(*code))) code++;
+@@ -354,7 +354,7 @@ void format_output (char *format_string,
+ }
+
+ }
+- printf(format);
++ printf("%s", format);
+ }
+
+