summaryrefslogtreecommitdiff
path: root/audio/mp3val/fix_compile_warnings.diff
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mp3val/fix_compile_warnings.diff')
-rw-r--r--audio/mp3val/fix_compile_warnings.diff37
1 files changed, 0 insertions, 37 deletions
diff --git a/audio/mp3val/fix_compile_warnings.diff b/audio/mp3val/fix_compile_warnings.diff
deleted file mode 100644
index ebe09e8d45..0000000000
--- a/audio/mp3val/fix_compile_warnings.diff
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Naur mp3val-0.1.8-src/report.cpp mp3val-0.1.8-src.patched/report.cpp
---- mp3val-0.1.8-src/report.cpp 2009-06-25 16:14:35.000000000 -0400
-+++ mp3val-0.1.8-src.patched/report.cpp 2014-09-21 15:24:24.000000000 -0400
-@@ -25,9 +25,9 @@
-
- extern bool bSuppressInfo;
-
--int PrintMessage(ostream *out,char *caption,char *filename,char *message,int iErrorFrame);
-+int PrintMessage(ostream *out,const char *caption,const char *filename,const char *message,int iErrorFrame);
-
--int PrintReport(ostream *out,char *filename,MPEGINFO *mpginfo) {
-+int PrintReport(ostream *out,const char *filename,MPEGINFO *mpginfo) {
- int frame_types=0;
- int mpeg_total;
- int tags_total;
-@@ -228,7 +228,7 @@
-
- }
-
--int PrintMessage(ostream *out,char *caption,char *filename,char *message,int iErrorFrame) {
-+int PrintMessage(ostream *out,const char *caption,const char *filename,const char *message,int iErrorFrame) {
- (*out)<<caption<<": ";
- if(iErrorFrame>=0) {
- (*out)<<"\""<<filename<<"\" (offset 0x"<<hex<<iErrorFrame<<dec<<"): ";
-diff -Naur mp3val-0.1.8-src/report.h mp3val-0.1.8-src.patched/report.h
---- mp3val-0.1.8-src/report.h 2009-06-25 16:14:38.000000000 -0400
-+++ mp3val-0.1.8-src.patched/report.h 2014-09-21 15:24:15.000000000 -0400
-@@ -26,7 +26,7 @@
-
- #include "mpegparse.h"
-
--int PrintReport(ostream *out,char *filename,MPEGINFO *mpginfo);
--int PrintMessage(ostream *out,char *caption,char *filename,char *message,int iErrorFrame);
-+int PrintReport(ostream *out,const char *filename,MPEGINFO *mpginfo);
-+int PrintMessage(ostream *out,const char *caption,const char *filename,const char *message,int iErrorFrame);
-
- #endif