summaryrefslogtreecommitdiff
path: root/build/android/patches/sqlite3-readonly-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build/android/patches/sqlite3-readonly-fix.patch')
-rw-r--r--build/android/patches/sqlite3-readonly-fix.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/build/android/patches/sqlite3-readonly-fix.patch b/build/android/patches/sqlite3-readonly-fix.patch
deleted file mode 100644
index be19055ee..000000000
--- a/build/android/patches/sqlite3-readonly-fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- sqlite3.c 2016-11-29 02:29:24.000000000 +0000
-+++ sqlite3.c 2016-12-08 22:54:54.206465377 +0000
-@@ -30445,7 +30445,14 @@
- #if OS_VXWORKS
- struct vxworksFileId *pId; /* Unique file ID for vxworks. */
- #else
-- ino_t ino; /* Inode number */
-+ #ifdef ANDROID
-+ // Bionic's struct stat has a 64 bit st_ino on both 32 and
-+ // 64 bit architectures. ino_t remains 32 bits wide on 32 bit
-+ // architectures and can lead to inode truncation.
-+ unsigned long long ino; /* Inode number */
-+ #else
-+ ino_t ino; /* Inode number */
-+ #endif
- #endif
- };