blob: 86f7c798308d2dec2302decb52c2ab2f6d071267 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
This document describes how the libsqlite3 library was packaged for build2. In
particular, this understanding will be useful when upgrading to a new upstream
version. See ../README-DEV for general notes on SQLite packaging.
Symlink the required upstream files into libsqlite3/:
$ mkdir libsqlite3
$ pushd libsqlite3
$ ln -s ../../upstream/{sqlite3.c,sqlite3ext.h,sqlite3.h} .
Also fix warnings that pop up with -Wall:
$ mv sqlite3.c sqlite3.c.orig
$ cp sqlite3.c.orig sqlite3.c
$ git apply ../fix-warnings.patch
$ git apply ../fix-writeMask-check.patch
$ popd
Note that the fix-writeMask-check.patch patch is a backport of the
c3f616597c40 commit (as appears in the https://github.com/sqlite/sqlite
mirror). It shouldn't be required starting the release which will follow
3.40.1.
Also note that patches are produced by commands similar to the following:
$ git diff >fix-warnings.patch
|