!15 fix return local addr

From: @shdluan
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-05 02:10:35 +00:00 committed by Gitee
commit e97a38aa27
2 changed files with 17 additions and 1 deletions

View 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) );

View File

@ -1,11 +1,12 @@
Name: mstflint
Summary: Firmware Burning and Diagnostics Tools
Version: 4.10.0
Release: 6
Release: 7
License: GPLv2+ or BSD
Url: https://github.com/Mellanox/mstflint
Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz
Patch0000: 0001-Fix-compile-errors.patch
Patch0001: fix-return-local-addr.patch
BuildRequires: libstdc++-devel zlib-devel rdma-core-devel gcc-c++ gcc
BuildRequires: libcurl-devel boost-devel libxml2-devel openssl-devel
@ -43,6 +44,9 @@ export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
%{_mandir}/man1/*
%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
- change the libibmad-devel to rdma-core-devel