summaryrefslogtreecommitdiff
path: root/recipes/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch')
-rw-r--r--recipes/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch b/recipes/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
new file mode 100644
index 0000000000..38a3ecbac6
--- /dev/null
+++ b/recipes/cyrus-imapd/cyrus-imapd-2.2.5/tail.patch
@@ -0,0 +1,8 @@
+--- cyrus-imapd-2.2.5/imap/xversion.sh.orig 2003-10-22 20:03:00 +0200
++++ cyrus-imapd-2.2.5/imap/xversion.sh 2004-08-26 16:57:29 +0200
+@@ -22,4 +22,4 @@
+ match ($0, pattern) {
+ printf "\"%s\"\n", substr($0, RSTART, RLENGTH)
+ }' pattern="$DATEPAT $TIMEPAT" | \
+- sort | tail -1 >> xversion.h
++ sort | tail -n 1 >> xversion.h