Import Upstream version 2.72.4
This commit is contained in:
commit
4ef3ff9793
2003 changed files with 1332420 additions and 0 deletions
28
glib/libcharset/make-patch.sh
Executable file
28
glib/libcharset/make-patch.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/sh
|
||||
|
||||
if test $# = 1 ; then
|
||||
ORIGINAL=$1
|
||||
else
|
||||
echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -f "${ORIGINAL}/lib/localcharset.c" ; then : ; else
|
||||
echo "Usage: make-patch.sh /path/to/libcharset" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VERSION=$(grep VERSION= "${ORIGINAL}/configure.ac" | sed s/VERSION=//)
|
||||
|
||||
echo "# Patch against libcharset version ${VERSION}" > libcharset-glib.patch
|
||||
|
||||
for i in localcharset.c ref-add.sin ref-del.sin ; do
|
||||
diff -u "${ORIGINAL}/lib/${i}" "${i}" >> libcharset-glib.patch
|
||||
done
|
||||
|
||||
for i in glibc21.m4 codeset.m4 ; do
|
||||
diff -u "${ORIGINAL}/m4/${i}" "${i}" >> libcharset-glib.patch
|
||||
done
|
||||
|
||||
diff -u "${ORIGINAL}/include/libcharset.h.in" libcharset.h >> libcharset-glib.patch
|
||||
diff -u "${ORIGINAL}/include/localcharset.h.in" localcharset.h >> libcharset-glib.patch
|
||||
Loading…
Add table
Add a link
Reference in a new issue