diff options
author | Brandy Westcott <brandy@gentoo.org> | 2003-10-30 12:34:49 +0000 |
---|---|---|
committer | Brandy Westcott <brandy@gentoo.org> | 2003-10-30 12:34:49 +0000 |
commit | 406c995c2bee43ada1ca2e6111b251c89d4f59ee (patch) | |
tree | f70c7e810a03fe3037f100d57a332d72821ef0e6 /dev-util/diffstat/files | |
parent | optional gifs. (diff) | |
download | gentoo-2-406c995c2bee43ada1ca2e6111b251c89d4f59ee.tar.gz gentoo-2-406c995c2bee43ada1ca2e6111b251c89d4f59ee.tar.bz2 gentoo-2-406c995c2bee43ada1ca2e6111b251c89d4f59ee.zip |
Added patch to allow diffstat to handle hard-locale time format. Closes bug #31689.
Diffstat (limited to 'dev-util/diffstat/files')
-rw-r--r-- | dev-util/diffstat/files/diffstat-1.29-hard-locale.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/diffstat/files/diffstat-1.29-hard-locale.patch b/dev-util/diffstat/files/diffstat-1.29-hard-locale.patch new file mode 100644 index 000000000000..8fd51e9c5439 --- /dev/null +++ b/dev-util/diffstat/files/diffstat-1.29-hard-locale.patch @@ -0,0 +1,15 @@ +--- diffstat-1.29/diffstat.old 2003-10-21 22:44:18.325067400 -0700 ++++ diffstat-1.29/diffstat.c 2003-10-21 22:46:30.279007352 -0700 +@@ -528,6 +528,12 @@ + && !version_num(fname) + && !contain_any(fname, "*") + && !edit_range(fname)) ++ || (sscanf(buffer, ++ "*** %[^\t ]\t%d-%d-%d %d:%d:%d", ++ fname, ++ &year, &month, &day, ++ &hour, &minute, &second) == 7 ++ && !version_num(fname)) + ) { + s = merge_name(that, fname); + that = new_data(s); |