sqlite 3.31.0-2 (i686) 2020-10267
-9999

Status rejected
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/675952
Packages
libsqlite3_0-3.31.0-2.i686.binary
libsqlite3_0-debuginfo-3.31.0-2.i686.debuginfo
libsqlite3-devel-3.31.0-2.i686.binary
sqlite-3.31.0-2.i686.source
sqlite-debuginfo-3.31.0-2.i686.debuginfo
sqlite-tools-3.31.0-2.i686.binary
sqlite-tools-debuginfo-3.31.0-2.i686.debuginfo
Build Date 2020-01-24 17:16:12 +0000 UTC
Last Updated 2020-01-24 20:29:31.236930165 +0000 UTC
$ git diff --patch-with-stat --summary 76e9de977ac658f42790997b7932f901531f4020..5748c4bbecfc3733f4e9e2eddebefb6640bc783c

 .abf.yml                              |  2 +-
 sqlite-3.31.0-fixes-from-fossil.patch | 18 ++++++++++++++++++
 sqlite.spec                           |  8 +++++---
 3 files changed, 24 insertions(+), 4 deletions(-)
 create mode 100644 sqlite-3.31.0-fixes-from-fossil.patch

diff --git a/.abf.yml b/.abf.yml
index c1ec58f..66c32f6 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  sqlite-autoconf-3300100.tar.gz: 8383f29d53fa1d4383e4c8eb3e087f2ed940a9e0
+  sqlite-autoconf-3310000.tar.gz: 8488afaa1cb452a1ac7ee4db1505eaef60341ab2
diff --git a/sqlite-3.31.0-fixes-from-fossil.patch b/sqlite-3.31.0-fixes-from-fossil.patch
new file mode 100644
index 0000000..7bcfe0f
--- /dev/null
+++ b/sqlite-3.31.0-fixes-from-fossil.patch
@@ -0,0 +1,18 @@
+diff -up sqlite-autoconf-3310000/sqlite3ext.h.omv~ sqlite-autoconf-3310000/sqlite3ext.h
+--- sqlite-autoconf-3310000/sqlite3ext.h.omv~	2020-01-24 00:20:41.982465818 +0100
++++ sqlite-autoconf-3310000/sqlite3ext.h	2020-01-24 00:21:05.856464660 +0100
+@@ -620,11 +620,11 @@ typedef int (*sqlite3_loadext_entry)(
+ /* Version 3.26.0 and later */
+ #define sqlite3_normalized_sql         sqlite3_api->normalized_sql
+ /* Version 3.28.0 and later */
+-#define sqlite3_stmt_isexplain         sqlite3_api->isexplain
+-#define sqlite3_value_frombind         sqlite3_api->frombind
++#define sqlite3_stmt_isexplain         sqlite3_api->stmt_isexplain
++#define sqlite3_value_frombind         sqlite3_api->value_frombind
+ /* Version 3.30.0 and later */
+ #define sqlite3_drop_modules           sqlite3_api->drop_modules
+-/* Version 3.31.0 andn later */
++/* Version 3.31.0 and later */
+ #define sqlite3_hard_heap_limit64      sqlite3_api->hard_heap_limit64
+ #define sqlite3_uri_key                sqlite3_api->uri_key
+ #define sqlite3_filename_database      sqlite3_api->filename_database
diff --git a/sqlite.spec b/sqlite.spec
index c3de25a..b1344d5 100644
--- a/sqlite.spec
+++ b/sqlite.spec
@@ -18,12 +18,14 @@
 
 Summary:	C library that implements an embeddable SQL database engine
 Name:		sqlite
-Version:	3.30.1
-Release:	1
+Version:	3.31.0
+Release:	2
 License:	Public Domain
 Group:		System/Libraries
 URL:		http://www.sqlite.org/
 Source0:	http://www.sqlite.org/%(date +%Y)/%{name}-autoconf-%{realver}.tar.gz
+# https://sqlite.org/src/vpatch?from=8a6fe3066cf0599f&to=14331989fcaf6591
+Patch0:		sqlite-3.31.0-fixes-from-fossil.patch
 # (tpg) ClearLinux patches
 Patch1:		flags.patch
 Patch2:		defaults.patch
@@ -94,7 +96,7 @@ This package contains command line tools for managing the
 
 %prep
 %setup -qn %{name}-autoconf-%{realver}
-%apply_patches
+%autopatch -p1
 
 autoreconf -fi
 
Not Available

benbullard79 [@T] cox.netNo Comment.1767d 04hrs
benbullard79 [@T] cox.netNo Comment.1767d 04hrs