office-gobmx/external/mariadb-connector-c/README
Michael Stahl 871d75e9c2 consistent naming of externals: libmariadb -> mariadb-connector-c
The used version is actually named mariadb_client but since 2.1.0
upstream calls it MariaDB Connector/C.

Change-Id: I51b12a9be55151919585dec91a5fc802ff4fc86b
Reviewed-on: https://gerrit.libreoffice.org/42295
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-09-15 10:59:56 +02:00

16 lines
No EOL
776 B
Text

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