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.ac | sed s/VERSION=//`
17 echo "# Patch against libcharset version $VERSION" > libcharset-glib.patch
19 for i in localcharset.c ref-add.sin ref-del.sin ; do
20 diff -u $ORIGINAL/lib/$i $i >> libcharset-glib.patch
23 for i in glibc21.m4 codeset.m4 ; do
24 diff -u $ORIGINAL/m4/$i $i >> libcharset-glib.patch
27 diff -u $ORIGINAL/include/libcharset.h.in libcharset.h >> libcharset-glib.patch
28 diff -u $ORIGINAL/include/localcharset.h.in localcharset.h >> libcharset-glib.patch