Skip to content

Instantly share code, notes, and snippets.

@krzysztofantczak
Last active October 26, 2017 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krzysztofantczak/6f2816b6206ec7b72bed8af45e6b786a to your computer and use it in GitHub Desktop.
Save krzysztofantczak/6f2816b6206ec7b72bed8af45e6b786a to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ ! -d sqlcipher ]; then
git clone https://github.com/sqlcipher/sqlcipher.git
fi
if [ ! -f dqlite.patch ]; then
curl https://github.com/CanonicalLtd/sqlite/commit/2a9aa8b056f37ae05f38835182a2856ffc95aee4.patch > dqlite.patch
fi
cd sqlcipher
git apply --check ../dqlite.patch
error: patch failed: src/pager.c:4103
error: src/pager.c: patch does not apply
error: patch failed: src/pager.h:178
error: src/pager.h: patch does not apply
error: patch failed: src/sqlite.h.in:8503
error: src/sqlite.h.in: patch does not apply
error: patch failed: src/wal.h:38
error: src/wal.h: patch does not apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment