#! /bin/sh -e ## 08_rfc822_crlf.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. if [ $# -lt 1 ]; then echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch -p1 ${patch_opts} < $0;; -unpatch) patch -R -p1 ${patch_opts} < $0;; *) echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 exit 1;; esac exit 0 @DPATCH@ diff -urNad /home/calvin/debian/official/roundup-0.7.0/roundup/rfc2822.py roundup-0.7.0/roundup/rfc2822.py --- /home/calvin/debian/official/roundup-0.7.0/roundup/rfc2822.py 2004-02-23 00:43:13.000000000 +0100 +++ roundup-0.7.0/roundup/rfc2822.py 2004-05-06 22:02:10.000000000 +0200 @@ -6,6 +6,8 @@ from string import letters, digits from binascii import b2a_base64, a2b_base64 +CRLF = '\r\n' + ecre = re.compile(r''' =\? # literal =? (?P[^?]*?) # non-greedy up to the next ? is the charset