소스 검색

apply upstream vendor fix

Ralf S. Engelschall 17 년 전
부모
커밋
c4991bc7a1
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  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);