|
|
@@ -82,3 +82,20 @@ Index: sqlite3.pc.in
|
|
|
-Libs.private: @LIBS@
|
|
|
+Libs: -L${libdir} -lsqlite3 @LIBS@
|
|
|
Cflags: -I${includedir}
|
|
|
+
|
|
|
+-----------------------------------------------------------------------------
|
|
|
+
|
|
|
+Upstream fixes (can be removed with SQLite 3.6.4)
|
|
|
+
|
|
|
+Index: src/main.c
|
|
|
+--- src/main.c 2008/09/08 08:08:09 1.500
|
|
|
++++ src/main.c 2008/09/22 17:22:20 1.501
|
|
|
+@@ -135,6 +135,8 @@
|
|
|
+ rc = SQLITE_NOMEM;
|
|
|
+ }
|
|
|
+ }
|
|
|
++ }
|
|
|
++ if( rc==SQLITE_OK ){
|
|
|
+ sqlite3GlobalConfig.nRefInitMutex++;
|
|
|
+ }
|
|
|
+ sqlite3_mutex_leave(pMaster);
|