6 echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
10 if test -f $ORIGINAL/lib
/localcharset.c
; then : ; else
11 echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
15 VERSION
=`grep VERSION= $ORIGINAL/configure.in | sed s/VERSION=//`
17 echo "# Patch against libcharset version $VERSION" > libcharset-gsasl.
patch
19 for i
in localcharset.c ref-add.sin ref-del.sin
; do
20 diff -u $ORIGINAL/lib
/$i $i >> libcharset-gsasl.
patch
23 diff -u $ORIGINAL/include
/libcharset.h.
in libcharset.h
>> libcharset-gsasl.
patch