forked from amazingfate/loongoffice
http://bazaar.launchpad.net/~maria-captains/mariadb-native-client/trunk/revision/149 Change-Id: I273f355b9fc922fdb9d9692e0057cfccfdcbcde1 Reviewed-on: https://gerrit.libreoffice.org/11492 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Update to new upstream bzr snapshot:
Don't use 'bzr diff', it will not put renames in the diff in a way
that patch understands.
bzr -Ossl.cert_reqs=none branch lp:mariadb-native-client
mv mariadb-native-client mariadb-native-client.trunk
cp -R mariadb-native-client.trunk mariadb-native-client.release
cd mariadb-native-client.release
bzr revert -r mariadb-native-client-1.0.0
cd ..
diff -x .bzr -u --recursive -N mariadb-native-client.release/ mariadb-native-client.trunk/ > /path/to/libreoffice_tree/libmariadb/mariadb-trunk-NNN.patch
sed -i -e 's@^\([+-]\{3\} \)mariadb-native-client.\(trunk\|release\)/@\1mariadb/@' /path/to/libreoffice_tree/libmariadb/mariadb-trunk-NNN.patch
dos2unix -f /path/to/libreoffice_tree/libmariadb/mariadb-trunk-NNN.patch
regenerate configs