1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

Ports: Update sqlite's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 23:42:02 +04:30 committed by Ali Mohammad Pur
parent 54f191f25b
commit ee557a4145
5 changed files with 78 additions and 41 deletions

View file

@ -0,0 +1,32 @@
From 574528250f8113f17a1524266114e297417fd3ff Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Sat, 27 Mar 2021 12:38:07 +0100
Subject: [PATCH 2/2] Disable vfs locking
---
sqlite3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sqlite3.c b/sqlite3.c
index 0b227f0..90c38bd 100644
--- a/sqlite3.c
+++ b/sqlite3.c
@@ -42840,6 +42840,7 @@ SQLITE_API int sqlite3_os_init(void){
** array cannot be const.
*/
static sqlite3_vfs aVfs[] = {
+ UNIXVFS("unix-none", nolockIoFinder ),
#if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__)
UNIXVFS("unix", autolockIoFinder ),
#elif OS_VXWORKS
@@ -42847,7 +42848,6 @@ SQLITE_API int sqlite3_os_init(void){
#else
UNIXVFS("unix", posixIoFinder ),
#endif
- UNIXVFS("unix-none", nolockIoFinder ),
UNIXVFS("unix-dotfile", dotlockIoFinder ),
UNIXVFS("unix-excl", posixIoFinder ),
#if OS_VXWORKS
--
2.36.1