#! /bin/sh -e
## 
## All lines beginning with `## DP:' are a description of the patch.
## DP: Shows the spool-time with fq
## not integrated upstream, because needs gnu find

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"

if [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi  
case "$1" in
       -patch) patch $patch_opts -p1 < $0;;
       -unpatch) patch $patch_opts -p1 -R < $0;;
        *)
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
		exit 1;;
esac            

exit 0
@DPATCH@
--- mgetty-1.1.30.orig/fax/faxq.in	Sat Nov 23 19:57:59 2002
+++ mgetty-1.1.30.orig/fax/faxq.in	Sun Sep 28 17:59:40 2003
@@ -100,6 +100,7 @@
 			       }' -`
 	$echo "$i:"
 	$echo "\tQueued by: $USER"
+	$echo "\t       at: "`find $(dirname $i)/${PAGES%% *} -printf "%Ax %AH:%AM\n"`
        if [ -z "$VERBTO" ]
        then
 	$echo "\t       to: $PHONE"
