diff options
author | Jason Cooper <gentoo@lakedaemon.net> | 2012-10-21 21:37:29 -0400 |
---|---|---|
committer | Jason Cooper <gentoo@lakedaemon.net> | 2012-10-21 21:37:29 -0400 |
commit | 01f0c78471d0519bbfe455e78141a1144ae2303e (patch) | |
tree | 253261c5605e4a5a1fc911ed1ffe6aa86c9801d3 /app-admin/ccze/files/ccze-segfault.patch | |
parent | app-text/tree: build on ~x64-macos (diff) | |
download | logan-01f0c78471d0519bbfe455e78141a1144ae2303e.tar.gz logan-01f0c78471d0519bbfe455e78141a1144ae2303e.tar.bz2 logan-01f0c78471d0519bbfe455e78141a1144ae2303e.zip |
Signed-off-by: Jason Cooper <gentoo@lakedaemon.net>
Diffstat (limited to 'app-admin/ccze/files/ccze-segfault.patch')
-rw-r--r-- | app-admin/ccze/files/ccze-segfault.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app-admin/ccze/files/ccze-segfault.patch b/app-admin/ccze/files/ccze-segfault.patch new file mode 100644 index 0000000..fa30d2f --- /dev/null +++ b/app-admin/ccze/files/ccze-segfault.patch @@ -0,0 +1,30 @@ +diff -ruN ccze-0.2.1.orig/src/ccze.c ccze-0.2.1/src/ccze.c +--- ccze-0.2.1.orig/src/ccze.c 2003-05-13 20:09:30.000000000 +0200 ++++ ccze-0.2.1/src/ccze.c 2006-12-12 20:36:09.000000000 +0100 +@@ -209,7 +209,7 @@ + } + break; + case 'a': +- plugin = strtok (optarg, "="); ++ plugin = strtok (arg, "="); + value = strtok (NULL, "\n"); + ccze_plugin_argv_set (plugin, value); + break; +@@ -249,7 +249,7 @@ + ccze_config.remfac = 1; + break; + case 'm': +- subopts = optarg; ++ subopts = arg; + while (*subopts != '\0') + { + switch (getsubopt (&subopts, m_subopts, &value)) +@@ -273,7 +273,7 @@ + } + break; + case 'o': +- subopts = optarg; ++ subopts = arg; + while (*subopts != '\0') + { + switch (getsubopt (&subopts, o_subopts, &value)) |