Jelajahi Sumber

apply upstream vendor fix

Ralf S. Engelschall 17 tahun lalu
induk
melakukan
c4991bc7a1
1 mengubah file dengan 17 tambahan dan 0 penghapusan
  1. 17 0
      sqlite/sqlite.patch

+ 17 - 0
sqlite/sqlite.patch

@@ -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);