From 7e54ae3ae0acae59f83eb7004c3f546e0d23afd2 Mon Sep 17 00:00:00 2001 From: Alice Ferrazzi Date: Sun, 13 Nov 2016 15:22:47 +0000 Subject: sys-apps/epoch: bump 1.3.0 Package-Manager: portage-2.3.0 --- sys-apps/epoch/files/epoch-1.3.0-fix-main.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sys-apps/epoch/files/epoch-1.3.0-fix-main.patch (limited to 'sys-apps/epoch/files') diff --git a/sys-apps/epoch/files/epoch-1.3.0-fix-main.patch b/sys-apps/epoch/files/epoch-1.3.0-fix-main.patch new file mode 100644 index 000000000000..b158ae2e3396 --- /dev/null +++ b/sys-apps/epoch/files/epoch-1.3.0-fix-main.patch @@ -0,0 +1,13 @@ +--- src/main.c.orig 2016-11-13 15:11:58.511021203 +0000 ++++ src/main.c 2016-11-13 15:12:21.096021358 +0000 +@@ -1142,8 +1142,9 @@ static ReturnCode HandleEpochCommand(int + ShutdownMemBus(false); //We're done with membus now. + + char Compare[WARNING + 1][MEMBUS_MSGSIZE] = { MEMBUS_CODE_FAILURE " ", MEMBUS_CODE_ACKNOWLEDGED " ", MEMBUS_CODE_WARNING " "}; ++ int Inc; + +- for (int Inc = 0; Inc < sizeof Compare / sizeof *Compare; ++Inc) ++ for (Inc = 0; Inc < sizeof Compare / sizeof *Compare; ++Inc) + { + strcat(Compare[Inc], ArgIs("merge") ? MEMBUS_CODE_CFMERGE : MEMBUS_CODE_CFUMERGE); + strcat(Compare[Inc], " "); -- cgit v1.2.3-65-gdbad