summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2016-11-13 15:22:47 +0000
committerAlice Ferrazzi <alicef@gentoo.org>2016-11-13 15:23:33 +0000
commit7e54ae3ae0acae59f83eb7004c3f546e0d23afd2 (patch)
tree97e4d4523e2daff39aeadca56953b25c301f3929 /sys-apps/epoch/files
parentapp-misc/gramps: remove old (diff)
downloadgentoo-7e54ae3ae0acae59f83eb7004c3f546e0d23afd2.tar.gz
gentoo-7e54ae3ae0acae59f83eb7004c3f546e0d23afd2.tar.bz2
gentoo-7e54ae3ae0acae59f83eb7004c3f546e0d23afd2.zip
sys-apps/epoch: bump 1.3.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-apps/epoch/files')
-rw-r--r--sys-apps/epoch/files/epoch-1.3.0-fix-main.patch13
1 files changed, 13 insertions, 0 deletions
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], " ");