mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
Ports: Add SQLite
This commit is contained in:
parent
2fb3c98429
commit
9c141d0a87
5 changed files with 50 additions and 0 deletions
11
Ports/sqlite/patches/config.sub.patch
Normal file
11
Ports/sqlite/patches/config.sub.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- sqlite-autoconf-3350300/config.sub 2021-03-26 15:25:02.000000000 +0100
|
||||
+++ sqlite-autoconf-port/config.sub 2021-03-26 23:31:42.457629453 +0100
|
||||
@@ -1366,7 +1366,7 @@
|
||||
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||
- | -sym* | -kopensolaris* | -plan9* \
|
||||
+ | -sym* | -kopensolaris* | -plan9* | -serenity* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
| -aos* | -aros* | -cloudabi* | -sortix* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
13
Ports/sqlite/patches/shell.c.patch
Normal file
13
Ports/sqlite/patches/shell.c.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- sqlite-autoconf-3350300/shell.c 2021-03-26 15:24:58.000000000 +0100
|
||||
+++ sqlite-autoconf-port/shell.c 2021-03-27 12:05:40.289547647 +0100
|
||||
@@ -2554,6 +2554,10 @@
|
||||
if( utimensat(AT_FDCWD, zFile, times, AT_SYMLINK_NOFOLLOW) ){
|
||||
return 1;
|
||||
}
|
||||
+#elif defined(HAVE_UTIME)
|
||||
+ int rc = utime(zFile, NULL);
|
||||
+ if (rc < 0)
|
||||
+ return 1;
|
||||
#else
|
||||
/* Legacy unix */
|
||||
struct timeval times[2];
|
18
Ports/sqlite/patches/sqlite3.c.patch
Normal file
18
Ports/sqlite/patches/sqlite3.c.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- sqlite-autoconf-3350300/sqlite3.c 2021-03-26 15:24:58.000000000 +0100
|
||||
+++ sqlite-autoconf-port/sqlite3.c 2021-03-27 12:30:47.197494792 +0100
|
||||
@@ -41852,6 +41852,7 @@
|
||||
** 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
|
||||
@@ -41859,7 +41860,6 @@
|
||||
#else
|
||||
UNIXVFS("unix", posixIoFinder ),
|
||||
#endif
|
||||
- UNIXVFS("unix-none", nolockIoFinder ),
|
||||
UNIXVFS("unix-dotfile", dotlockIoFinder ),
|
||||
UNIXVFS("unix-excl", posixIoFinder ),
|
||||
#if OS_VXWORKS
|
Loading…
Add table
Add a link
Reference in a new issue