forked from pool/sqlite3
Accepting request 961694 from home:AndreasStieger:branches:server:database
3.38.1 - fix FTBFS OBS-URL: https://build.opensuse.org/request/show/961694 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=276
This commit is contained in:
parent
c7eaffc52d
commit
d3d0e359fe
26
sqlite-src-3380100-atof1.patch
Normal file
26
sqlite-src-3380100-atof1.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Subject: Only run atof1.test on x86_64 machines.
|
||||||
|
Date: 2022-03-10 11:48:16
|
||||||
|
From: drh@
|
||||||
|
References: https://www3.sqlite.org/cgi/src/vinfo/4173819cd285a1c1?diff=1
|
||||||
|
|
||||||
|
|
||||||
|
Index: test/atof1.test
|
||||||
|
==================================================================
|
||||||
|
--- test/atof1.test
|
||||||
|
+++ test/atof1.test
|
||||||
|
@@ -16,10 +16,14 @@
|
||||||
|
source $testdir/tester.tcl
|
||||||
|
|
||||||
|
if {$::longdouble_size<=8} {
|
||||||
|
finish_test
|
||||||
|
return
|
||||||
|
+}
|
||||||
|
+if {$::tcl_platform(machine)!="x86_64"} {
|
||||||
|
+ finish_test
|
||||||
|
+ return
|
||||||
|
}
|
||||||
|
|
||||||
|
expr srand(1)
|
||||||
|
for {set i 1} {$i<20000} {incr i} {
|
||||||
|
set pow [expr {int((rand()-0.5)*100)}]
|
||||||
|
|
@ -15,6 +15,8 @@ Sun Mar 13 16:25:42 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
|||||||
constraint.
|
constraint.
|
||||||
* Other minor fixes to assert() statements, test cases, and
|
* Other minor fixes to assert() statements, test cases, and
|
||||||
documentation. See the source code timeline for details.
|
documentation. See the source code timeline for details.
|
||||||
|
- add upstream patch to run atof1 tests only on x86_64
|
||||||
|
sqlite-src-3380100-atof1.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 26 11:20:10 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
Sat Feb 26 11:20:10 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
@ -29,6 +29,7 @@ URL: https://www.sqlite.org/
|
|||||||
Source0: https://www.sqlite.org/2022/sqlite-src-%{tarversion}.zip
|
Source0: https://www.sqlite.org/2022/sqlite-src-%{tarversion}.zip
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Source2: https://www.sqlite.org/2022/sqlite-doc-%{tarversion}.zip
|
Source2: https://www.sqlite.org/2022/sqlite-doc-%{tarversion}.zip
|
||||||
|
Patch0: sqlite-src-3380100-atof1.patch
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -114,6 +115,7 @@ other documentation found on sqlite.org. The files can be found in
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sqlite-src-%{tarversion} -a2
|
%setup -q -n sqlite-src-%{tarversion} -a2
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
rm -v sqlite-doc-%{tarversion}/releaselog/current.html
|
rm -v sqlite-doc-%{tarversion}/releaselog/current.html
|
||||||
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html
|
ln -sv `echo %{version} | sed "s/\./_/g"`.html sqlite-doc-%{tarversion}/releaselog/current.html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user