Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 879 - (show annotations)
Sun Oct 4 15:10:35 2009 UTC (3 years, 7 months ago) by cjg
File size: 1874 byte(s)
sqlite3: autoupdated to 3.6.9-1
1 # Patch to add support for the pkgconfig-file sqlite3.pc, needed by at least firefox.
2 # See my upstream bugreport here http://www.sqlite.org/cvstrac/tktview?tn=3583.
3 # We want the amalgamation version of the sources, because we otherwise have to install
4 # tcl to build sqlite3 with special options like -DSQLITE_ENABLE_FTS3=1
5 #
6 # 2009-01-14 jue
7
8 diff -Nru sqlite-amalgamation-3.6.9.orig/Makefile.am sqlite-amalgamation-3.6.9/Makefile.am
9 --- sqlite-amalgamation-3.6.9.orig/Makefile.am 2009-01-14 14:13:11.000000000 +0100
10 +++ sqlite-amalgamation-3.6.9/Makefile.am 2009-01-14 17:04:30.000000000 +0100
11 @@ -12,3 +12,5 @@
12
13 include_HEADERS = sqlite3.h sqlite3ext.h
14
15 +pkgconfigdir = ${libdir}/pkgconfig
16 +pkgconfig_DATA = sqlite3.pc
17 diff -Nru sqlite-amalgamation-3.6.9.orig/configure.ac sqlite-amalgamation-3.6.9/configure.ac
18 --- sqlite-amalgamation-3.6.9.orig/configure.ac 2009-01-14 14:13:11.000000000 +0100
19 +++ sqlite-amalgamation-3.6.9/configure.ac 2009-01-14 14:58:02.000000000 +0100
20 @@ -24,7 +24,8 @@
21 # Check for library functions that SQLite can optionally use.
22 AC_CHECK_FUNCS([fdatasync usleep fullfsync localtime_r gmtime_r])
23
24 -AC_CONFIG_FILES([Makefile])
25 +AC_CONFIG_FILES([Makefile sqlite3.pc])
26 +AC_SUBST(BUILD_CFLAGS)
27
28 #-----------------------------------------------------------------------
29 # --enable-readline
30 diff -Nru sqlite-amalgamation-3.6.9.orig/sqlite3.pc.in sqlite-amalgamation-3.6.9/sqlite3.pc.in
31 --- sqlite-amalgamation-3.6.9.orig/sqlite3.pc.in 1970-01-01 01:00:00.000000000 +0100
32 +++ sqlite-amalgamation-3.6.9/sqlite3.pc.in 2009-01-14 12:49:13.000000000 +0100
33 @@ -0,0 +1,13 @@
34 +# Package Information for pkg-config
35 +
36 +prefix=@prefix@
37 +exec_prefix=@exec_prefix@
38 +libdir=@libdir@
39 +includedir=@includedir@
40 +
41 +Name: SQLite
42 +Description: SQL database engine
43 +Version: @VERSION@
44 +Libs: -L${libdir} -lsqlite3
45 +Libs.private: @LIBS@
46 +Cflags: -I${includedir}