瀏覽代碼

modifying package: sqlite-2.8.16 20050822 -> 20050824

Christoph Schug 21 年之前
父節點
當前提交
9dcb3c3092
共有 2 個文件被更改,包括 4 次插入25 次删除
  1. 2 23
      sqlite/sqlite.patch.v3
  2. 2 2
      sqlite/sqlite.spec

+ 2 - 23
sqlite/sqlite.patch.v3

@@ -1,35 +1,14 @@
 Index: configure
 --- configure.orig	2004-06-03 13:36:27.000000000 +0200
 +++ configure	2004-06-03 13:39:37.000000000 +0200
-@@ -20447,7 +20447,10 @@
+@@ -20224,6 +20224,10 @@
    TARGET_HAVE_READLINE=0
  fi
  
--
 +if [ "$ac_cv_lib_readline_readline" = "no" ]
 +then
 +    TARGET_HAVE_READLINE=0
 +fi
  
+ 
  #########
- # Figure out whether or not we have a "usleep()" function.
-Index: src/os_unix.c
---- src/os_unix.c	2005/08/13 17:17:02	1.49
-+++ src/os_unix.c	2005/08/21 21:45:02	1.50
-@@ -1278,13 +1278,13 @@
-     */
-     int *aNew;
-     struct openCnt *pOpen = id->pOpen;
--    pOpen->nPending++;
--    aNew = sqliteRealloc( pOpen->aPending, pOpen->nPending*sizeof(int) );
-+    aNew = sqliteRealloc( pOpen->aPending, (pOpen->nPending+1)*sizeof(int) );
-     if( aNew==0 ){
-       /* If a malloc fails, just leak the file descriptor */
-     }else{
-       pOpen->aPending = aNew;
--      pOpen->aPending[pOpen->nPending-1] = id->h;
-+      pOpen->aPending[pOpen->nPending] = id->h;
-+      pOpen->nPending++;
-     }
-   }else{
-     /* There are no outstanding locks so we can close the file immediately */

+ 2 - 2
sqlite/sqlite.spec

@@ -24,7 +24,7 @@
 
 #   package version
 %define       V_v2  2.8.16
-%define       V_v3  3.2.3
+%define       V_v3  3.2.4
 
 #   package information
 Name:         sqlite
@@ -37,7 +37,7 @@ Class:        BASE
 Group:        Database
 License:      PD
 Version:      %{V_v2}
-Release:      20050822
+Release:      20050824
 
 #   package options
 %option       with_utf8            no