!15 fix return local addr
From: @shdluan Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
e97a38aa27
12
fix-return-local-addr.patch
Normal file
12
fix-return-local-addr.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urN ./ext_libs2/sqlite/sqlite3.c ./ext_libs/sqlite/sqlite3.c
|
||||||
|
--- ./ext_libs2/sqlite/sqlite3.c 2021-08-05 09:37:16.410250283 +0800
|
||||||
|
+++ ./ext_libs/sqlite/sqlite3.c 2021-08-05 09:36:24.801803014 +0800
|
||||||
|
@@ -112969,7 +112969,7 @@
|
||||||
|
Expr *pLimit, /* LIMIT value. NULL means not used */
|
||||||
|
Expr *pOffset /* OFFSET value. NULL means no offset */
|
||||||
|
){
|
||||||
|
- Select *pNew;
|
||||||
|
+ static Select *pNew;
|
||||||
|
Select standin;
|
||||||
|
sqlite3 *db = pParse->db;
|
||||||
|
pNew = sqlite3DbMallocRawNN(db, sizeof(*pNew) );
|
||||||
@ -1,11 +1,12 @@
|
|||||||
Name: mstflint
|
Name: mstflint
|
||||||
Summary: Firmware Burning and Diagnostics Tools
|
Summary: Firmware Burning and Diagnostics Tools
|
||||||
Version: 4.10.0
|
Version: 4.10.0
|
||||||
Release: 6
|
Release: 7
|
||||||
License: GPLv2+ or BSD
|
License: GPLv2+ or BSD
|
||||||
Url: https://github.com/Mellanox/mstflint
|
Url: https://github.com/Mellanox/mstflint
|
||||||
Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz
|
Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz
|
||||||
Patch0000: 0001-Fix-compile-errors.patch
|
Patch0000: 0001-Fix-compile-errors.patch
|
||||||
|
Patch0001: fix-return-local-addr.patch
|
||||||
|
|
||||||
BuildRequires: libstdc++-devel zlib-devel rdma-core-devel gcc-c++ gcc
|
BuildRequires: libstdc++-devel zlib-devel rdma-core-devel gcc-c++ gcc
|
||||||
BuildRequires: libcurl-devel boost-devel libxml2-devel openssl-devel
|
BuildRequires: libcurl-devel boost-devel libxml2-devel openssl-devel
|
||||||
@ -43,6 +44,9 @@ export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 4 2021 shdluan@163.com <shdluan@163.com> - 4.10.0-7
|
||||||
|
- fix return local addr
|
||||||
|
|
||||||
* Tue Jul 28 2020 lingsheng <lingsheng@huawei.com> - 4.10.0-6
|
* Tue Jul 28 2020 lingsheng <lingsheng@huawei.com> - 4.10.0-6
|
||||||
- change the libibmad-devel to rdma-core-devel
|
- change the libibmad-devel to rdma-core-devel
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user