瀏覽代碼

upgrading package: sqlite 3.6.0 -> 3.6.1

Ralf S. Engelschall 17 年之前
父節點
當前提交
3d62fe09f2
共有 2 個文件被更改,包括 36 次插入8 次删除
  1. 34 6
      sqlite/sqlite.patch
  2. 2 2
      sqlite/sqlite.spec

+ 34 - 6
sqlite/sqlite.patch

@@ -1,7 +1,7 @@
 Index: Makefile.in
---- Makefile.in.orig	2008-07-09 01:36:13 +0200
-+++ Makefile.in	2008-07-17 09:33:03 +0200
-@@ -172,6 +172,30 @@
+--- Makefile.in.orig	2008-08-05 21:58:48 +0200
++++ Makefile.in	2008-08-07 09:09:15 +0200
+@@ -178,6 +178,30 @@
  LIBOBJ = $(OBJS$(USE_AMALGAMATION))
  
  
@@ -32,7 +32,7 @@ Index: Makefile.in
  # All of the source code files.
  #
  SRC = \
-@@ -754,3 +778,38 @@
+@@ -764,3 +788,38 @@
  sqlite3.dll: $(REAL_LIBOBJ) sqlite3.def
  	$(TCC) -shared -o $@ sqlite3.def \
  		-Wl,"--strip-all" $(REAL_LIBOBJ)
@@ -72,8 +72,8 @@ Index: Makefile.in
 +	$(LTCOMPILE) -c $(TOP)/ext/rtree/rtree.c
 +
 Index: sqlite3.pc.in
---- sqlite3.pc.in.orig	2008-06-24 03:29:58 +0200
-+++ sqlite3.pc.in	2008-07-17 09:32:21 +0200
+--- sqlite3.pc.in.orig	2008-07-16 17:50:43 +0200
++++ sqlite3.pc.in	2008-08-07 09:09:15 +0200
 @@ -8,6 +8,5 @@
  Name: SQLite
  Description: SQL database engine
@@ -82,3 +82,31 @@ Index: sqlite3.pc.in
 -Libs.private: @LIBS@
 +Libs: -L${libdir} -lsqlite3 @LIBS@
  Cflags: -I${includedir}
+
+-----------------------------------------------------------------------------
+
+Upstream Vendor CVS Patches (can be removed with SQLite 3.6.2)
+
+Index: src/build.c
+--- src/build.c	2008/08/04 04:39:49	1.493
++++ src/build.c	2008/08/06 13:47:41	1.494
+@@ -2136,6 +2136,7 @@
+   ExprList *pToCol,    /* Columns in the other table */
+   int flags            /* Conflict resolution algorithms. */
+ ){
++  sqlite3 *db = pParse->db;
+ #ifndef SQLITE_OMIT_FOREIGN_KEY
+   FKey *pFKey = 0;
+   Table *p = pParse->pNewTable;
+@@ -2143,10 +2144,8 @@
+   int i;
+   int nCol;
+   char *z;
+-  sqlite3 *db;
+ 
+   assert( pTo!=0 );
+-  db = pParse->db;
+   if( p==0 || pParse->nErr || IN_DECLARE_VTAB ) goto fk_end;
+   if( pFromCol==0 ){
+     int iCol = p->nCol-1;
+

+ 2 - 2
sqlite/sqlite.spec

@@ -22,7 +22,7 @@
 ##
 
 #   package version
-%define       V_sqlite   3.6.0
+%define       V_sqlite   3.6.1
 %define       V_odbc     0.77
 %define       V_jdbc     20080420
 
@@ -37,7 +37,7 @@ Class:        BASE
 Group:        Database
 License:      PD
 Version:      %{V_sqlite}
-Release:      20080717
+Release:      20080807
 
 #   package options
 %option       with_debug           no