commit ef437c14c2c18d976fd48067de749b9ceacf3ca9
Author: Richard M. Shaw <hobbes1069(a)gmail.com>
Date: Thu Jul 7 14:45:10 2016 -0500
More gcc 6 fixes.
avidemux-2.6.12-gcc6.patch | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
---
diff --git a/avidemux-2.6.12-gcc6.patch b/avidemux-2.6.12-gcc6.patch
index 1488448..f3ea7f9 100644
--- a/avidemux-2.6.12-gcc6.patch
+++ b/avidemux-2.6.12-gcc6.patch
@@ -26,3 +26,22 @@
} \
}
+--- a/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp
++++ b/avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp
+@@ -112,12 +112,12 @@ void jobWindow::refreshList(void)
+ QTableWidgetItem *endItem=fromText (end,i);
+ QTableWidgetItem *durItem=fromText (dur,i);
+
+-#define MX(x,y) case ADM_JOB_##x:
status->setIcon(QIcon(":/jobs/"y));break;
++#define MX(x,y) case ADM_JOB_##x: status->setIcon(QIcon(":/jobs/"
y));break;
+ switch(listOfJob[i].status)
+ {
+- MX(KO,"gtk-no.png");
+- MX(OK,"gtk-ok.png");
+- MX(RUNNING,"gtk-media-play.png");
++ MX(KO, "gtk-no.png");
++ MX(OK, "gtk-ok.png");
++ MX(RUNNING, "gtk-media-play.png");
+ default:
+ break;
+ }