summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/xstat/files/1.1-compile-fix.patch')
-rw-r--r--net-irc/xstat/files/1.1-compile-fix.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/net-irc/xstat/files/1.1-compile-fix.patch b/net-irc/xstat/files/1.1-compile-fix.patch
deleted file mode 100644
index 0df622d..0000000
--- a/net-irc/xstat/files/1.1-compile-fix.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- xstat-1.1/src/Config.cc.orig 2006-10-21 17:58:39.689754166 +0100
-+++ xstat-1.1/src/Config.cc 2006-10-21 20:02:33.728644924 +0100
-@@ -73,27 +73,27 @@
- */
- Config::Config()
- {
-- char *tmp[12];
-+ char **tmp[12];
- char *l; // current language
- l = setlocale(LC_ALL, "");
-- if (*l == 'f' && *(++l) == 'r') tmp = STATFR;
-- else tmp = STAT;
-+ if (*l == 'f' && *(++l) == 'r') strcpy(**tmp, *STATFR);
-+ else strcpy(**tmp, *STAT);
-
- strcpy(logName, "\0");
- strcpy(fileName, "\0");
- page = new Page("#FFFFFF", "Statistics of #channel");
-- stat[0] = new LinesChart("images/", "vbar.gif", tmp[0]);
-- stat[1] = new UsersChart("images/", "vbar.gif", tmp[1], 12);
-- stat[2] = new DailyLinesChart("images/", "vbar.gif", tmp[2], 1);
-- stat[3] = new DailyUsersChart("images/", "vbar.gif", tmp[3], 1);
-- stat[4] = new LineTable("images/", "hbar.gif", tmp[4], 20, 1);
-- stat[5] = new ActionTable("images/", "hbar.gif", tmp[5], 10, 1);
-- stat[6] = new DurationTable("images/", "hbar.gif", tmp[6], 10, 1);
-- stat[7] = new NickTable("images/", "hbar.gif", tmp[7], 5, 1);
-- stat[8] = new KickTable("images/", "hbar.gif", tmp[8], 10, 1);
-- stat[9] = new KickedTable("images/", "hbar.gif", tmp[9], 10, 1);
-- stat[10] = new TopicTable("images/", "hbar.gif", tmp[10], 5, 1);
-- stat[11] = new SessionTable("images/", "hbar.gif", tmp[11], 10, 1);
-+ stat[0] = new LinesChart("images/", "vbar.gif", *tmp[0]);
-+ stat[1] = new UsersChart("images/", "vbar.gif", *tmp[1], 12);
-+ stat[2] = new DailyLinesChart("images/", "vbar.gif", *tmp[2], 1);
-+ stat[3] = new DailyUsersChart("images/", "vbar.gif", *tmp[3], 1);
-+ stat[4] = new LineTable("images/", "hbar.gif", *tmp[4], 20, 1);
-+ stat[5] = new ActionTable("images/", "hbar.gif", *tmp[5], 10, 1);
-+ stat[6] = new DurationTable("images/", "hbar.gif", *tmp[6], 10, 1);
-+ stat[7] = new NickTable("images/", "hbar.gif", *tmp[7], 5, 1);
-+ stat[8] = new KickTable("images/", "hbar.gif", *tmp[8], 10, 1);
-+ stat[9] = new KickedTable("images/", "hbar.gif", *tmp[9], 10, 1);
-+ stat[10] = new TopicTable("images/", "hbar.gif", *tmp[10], 5, 1);
-+ stat[11] = new SessionTable("images/", "hbar.gif", *tmp[11], 10, 1);
- removeAll();
- }
-