#!/bin/sh
VERSION=1.1.34
tar --files-from=file.list -xJvf ../libxslt-$VERSION.tar.xz
mv libxslt-$VERSION libxslt-$VERSION-orig
cp -rf ./libxslt-$VERSION-new ./libxslt-$VERSION
diff --unified -Nr libxslt-$VERSION-orig libxslt-$VERSION > libxslt-$VERSION-python.patch
mv libxslt-$VERSION-python.patch ../patches
rm -rf ./libxslt-$VERSION
rm -rf ./libxslt-$VERSION-orig