Browse Source

upgrading package: sqlite 3.6.3 -> 3.6.4

master
parent
commit
0cf3c719c1
  1. 29
      sqlite/sqlite.patch
  2. 4
      sqlite/sqlite.spec

29
sqlite/sqlite.patch

@ -1,6 +1,6 @@
Index: Makefile.in
--- Makefile.in.orig 2008-09-08 13:57:08 +0200
+++ Makefile.in 2008-09-23 08:07:37 +0200
--- Makefile.in.orig 2008-10-14 20:07:37 +0200
+++ Makefile.in 2008-10-15 19:59:08 +0200
@@ -179,6 +179,30 @@
LIBOBJ = $(OBJS$(USE_AMALGAMATION))
@ -32,7 +32,7 @@ Index: Makefile.in
# All of the source code files.
#
SRC = \
@@ -782,3 +806,38 @@
@@ -786,3 +810,38 @@
sqlite3.dll: $(REAL_LIBOBJ) sqlite3.def
$(TCC) -shared -o $@ sqlite3.def \
-Wl,"--strip-all" $(REAL_LIBOBJ)
@ -72,30 +72,13 @@ Index: Makefile.in
+ $(LTCOMPILE) -c $(TOP)/ext/rtree/rtree.c
+
Index: sqlite3.pc.in
--- sqlite3.pc.in.orig 2008-07-16 17:50:43 +0200
+++ sqlite3.pc.in 2008-09-23 08:07:37 +0200
--- sqlite3.pc.in.orig 2008-10-14 20:07:39 +0200
+++ sqlite3.pc.in 2008-10-15 19:59:34 +0200
@@ -8,6 +8,5 @@
Name: SQLite
Description: SQL database engine
Version: @VERSION@
Version: @RELEASE@
-Libs: -L${libdir} -lsqlite3
-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);

4
sqlite/sqlite.spec

@ -22,7 +22,7 @@
##
# package version
%define V_sqlite 3.6.3
%define V_sqlite 3.6.4
%define V_odbc 0.79
%define V_jdbc 20081006
@ -37,7 +37,7 @@ Class: BASE
Group: Database
License: PD
Version: %{V_sqlite}
Release: 20081006
Release: 20081015
# package options
%option with_debug no

Loading…
Cancel
Save