From 1a45e6371aa9622e0b7ed7eca53a11e1cee6855e Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 14 Nov 2024 20:10:58 +0100 Subject: [PATCH] Added the previous commit as patch. --- .../sqlite/patch/0001-SQLITE_NO_FCHOWN.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 modules/database_sqlite/sqlite/patch/0001-SQLITE_NO_FCHOWN.patch diff --git a/modules/database_sqlite/sqlite/patch/0001-SQLITE_NO_FCHOWN.patch b/modules/database_sqlite/sqlite/patch/0001-SQLITE_NO_FCHOWN.patch new file mode 100644 index 000000000..f29cd4a12 --- /dev/null +++ b/modules/database_sqlite/sqlite/patch/0001-SQLITE_NO_FCHOWN.patch @@ -0,0 +1,26 @@ +From ad572cdfdb2cac970aa1dd291583b72b7f89f9fb Mon Sep 17 00:00:00 2001 +From: Relintai +Date: Thu, 14 Nov 2024 20:07:24 +0100 +Subject: [PATCH] Reapply SQLITE_NO_FCHOWN Pandemonium sqlite patch. + +--- + modules/database_sqlite/sqlite/sqlite3.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/modules/database_sqlite/sqlite/sqlite3.c b/modules/database_sqlite/sqlite/sqlite3.c +index 2886d04ae..9918449b9 100644 +--- a/modules/database_sqlite/sqlite/sqlite3.c ++++ b/modules/database_sqlite/sqlite/sqlite3.c +@@ -168,7 +168,9 @@ + #else + /* This is not VxWorks. */ + #define OS_VXWORKS 0 ++#ifndef SQLITE_NO_FCHOWN + #define HAVE_FCHOWN 1 ++#endif + #define HAVE_READLINK 1 + #define HAVE_LSTAT 1 + #endif /* defined(_WRS_KERNEL) */ +-- +2.47.0 +