libdb: Update from 6.2.32 to 18.1.32

This commit is contained in:
Fredrik Fornwall 2019-04-14 20:20:10 +02:00
parent 5cb054f308
commit 5e2de41086
4 changed files with 31 additions and 36 deletions

View File

@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.oracle.com/database/berkeley-db
TERMUX_PKG_DESCRIPTION="The Berkeley DB embedded database system (library)"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
TERMUX_PKG_VERSION=6.2.32
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://download.oracle.com/berkeley-db/db-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=a9c5e2b004a5777aa03510cfe5cd766a4a3b777713406b02809c17c8e0e7a8fb
TERMUX_PKG_VERSION=18.1.32
TERMUX_PKG_SHA256=fa1fe7de9ba91ad472c25d026f931802597c29f28ae951960685cde487c8d654
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/db-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-hash
--enable-smallbuild

View File

@ -1,35 +1,3 @@
diff -uNr db-6.2.32/lang/sql/generated/sqlite3.c db-6.2.32.mod/lang/sql/generated/sqlite3.c
--- db-6.2.32/lang/sql/generated/sqlite3.c 2017-04-13 17:06:15.000000000 +0300
+++ db-6.2.32.mod/lang/sql/generated/sqlite3.c 2019-03-02 02:06:14.891040820 +0200
@@ -30788,9 +30788,9 @@
0,
0,
0,
- "/var/tmp",
- "/usr/tmp",
- "/tmp",
+ "@TERMUX_PREFIX@/var/tmp",
+ "@TERMUX_PREFIX@/usr/tmp",
+ "@TERMUX_PREFIX@/tmp",
0 /* List terminator */
};
unsigned int i;
diff -uNr db-6.2.32/lang/sql/sqlite/src/os_unix.c db-6.2.32.mod/lang/sql/sqlite/src/os_unix.c
--- db-6.2.32/lang/sql/sqlite/src/os_unix.c 2017-04-13 17:06:17.000000000 +0300
+++ db-6.2.32.mod/lang/sql/sqlite/src/os_unix.c 2019-03-02 02:06:27.711088791 +0200
@@ -5450,9 +5450,9 @@
0,
0,
0,
- "/var/tmp",
- "/usr/tmp",
- "/tmp",
+ "@TERMUX_PREFIX@/var/tmp",
+ "@TERMUX_PREFIX@/usr/tmp",
+ "@TERMUX_PREFIX@/tmp",
0 /* List terminator */
};
unsigned int i;
diff -uNr db-6.2.32/src/os/os_tmpdir.c db-6.2.32.mod/src/os/os_tmpdir.c
--- db-6.2.32/src/os/os_tmpdir.c 2017-04-13 17:06:21.000000000 +0300
+++ db-6.2.32.mod/src/os/os_tmpdir.c 2019-03-02 02:06:03.557665103 +0200

View File

@ -0,0 +1,14 @@
diff -u -r ../db-18.1.32/lang/sql/generated/sqlite3.c ./lang/sql/generated/sqlite3.c
--- ../db-18.1.32/lang/sql/generated/sqlite3.c 2019-02-19 21:51:18.000000000 +0000
+++ ./lang/sql/generated/sqlite3.c 2019-04-13 07:40:01.383960498 +0000
@@ -35380,9 +35380,7 @@
static const char *azDirs[] = {
0,
0,
- "/var/tmp",
- "/usr/tmp",
- "/tmp",
+ "@TERMUX_PREFIX@/tmp",
"."
};
unsigned int i = 0;

View File

@ -0,0 +1,14 @@
diff -u -r ../db-18.1.32/lang/sql/sqlite/src/os_unix.c ./lang/sql/sqlite/src/os_unix.c
--- ../db-18.1.32/lang/sql/sqlite/src/os_unix.c 2019-02-19 21:51:18.000000000 +0000
+++ ./lang/sql/sqlite/src/os_unix.c 2019-04-13 07:37:00.461881967 +0000
@@ -5421,9 +5421,7 @@
static const char *azDirs[] = {
0,
0,
- "/var/tmp",
- "/usr/tmp",
- "/tmp",
+ "@TERMUX_PREFIX@/tmp",
"."
};
unsigned int i = 0;