]> git.pld-linux.org Git - packages/cvs.git/blame - cvs-debian-rcs2log-sort.patch
- outdated
[packages/cvs.git] / cvs-debian-rcs2log-sort.patch
CommitLineData
76652ff6
AM
1--- cvs-1.12.13.orig/debian/patches/12_rcs2log_POSIX_sort
2+++ cvs-1.12.13/debian/patches/12_rcs2log_POSIX_sort
3@@ -0,0 +1,15 @@
4+# Make rcs2log use POSIX 1003.1-2001 compliant `sort'. Closes: #368909
5+# Patch taken from http://cvs.pld.org.pl/SOURCES/cvs-POSIX.patch?rev=1.1 ,
6+# Thanks to the PLD Team.
7+diff -Nru ../build-tree.old/cvs-1.12.13/contrib/rcs2log.sh ./cvs-1.12.13/contrib/rcs2log.sh
8+--- ../build-tree.old/cvs-1.12.13/contrib/rcs2log.sh 2006-05-26 15:16:54.000000000 +0800
9++++ ./cvs-1.12.13/contrib/rcs2log.sh 2006-05-26 15:16:35.000000000 +0800
10+@@ -649,7 +649,7 @@
11+ # Sort the log entries, first by date+time (in reverse order),
12+ # then by author, then by log entry, and finally by file name and revision
13+ # (just in case).
14+-sort -t"$SOH" +2 -4r +4 +0 |
15++sort -t"$SOH" -k 3,4r -k 5 -k 1 |
16+
17+ # Finally, reformat the sorted log entries.
18+ $AWK -F"$SOH" '
This page took 0.086272 seconds and 4 git commands to generate.