Projects
Factory:RISC-V:Base
systemtap
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
_service:tar_scm:systemtap.spec
Changed
@@ -22,13 +22,14 @@ Name: systemtap Version: 4.5 -Release: 4 +Release: 5 Summary: Linux trace and probe tool License: GPLv2+ and Public Domain URL: http://sourceware.org/systemtap Source: https://sourceware.org/systemtap/ftp/releases/%{name}-%{version}.tar.gz Patch1: 0001-Add-init-type-cast-to-resolve-gcc-issue.patch +Patch2: 0002-gcc12-c++-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch BuildRequires: gcc-c++ emacs systemd python3-setuptools BuildRequires: gettext-devel rpm-devel readline-devel @@ -456,6 +457,12 @@ %{_mandir}/man[1378]/* %changelog +* Tue Jan 31 2023 laokz<zhangkai@iscas.ac.cn> - 4.5-5 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Add patch to fix gcc12 compatible failure + * Mon Dec 5 2022 langfei<langfei@huawei.com> - 4.5-4 - Type:bugfix - CVE:NA
View file
_service:tar_scm:0002-gcc12-c++-compatibility-tweak-use-lambdas-instead-of-ptr_fun.patch
Added
@@ -0,0 +1,29 @@ +gcc12 c++ compatibility tweak: use lambdas instead of ptr_fun<> +author Jonathan Wakely <jwakely.gcc@gmail.com> + Tue, 18 Jan 2022 20:52:18 +0000 (15:52 -0500) +committer Frank Ch. Eigler <fche@redhat.com> + Tue, 18 Jan 2022 20:52:18 +0000 (15:52 -0500) +Even while stap is a c++11 code base, such cleanups make code +nicer to look at. + +diff --git a/util.cxx b/util.cxx +--- a/util.cxx ++++ b/util.cxx +@@ -1761,7 +1761,7 @@ + { + s.erase(s.begin(), + std::find_if(s.begin(), s.end(), +- std::not1(std::ptr_fun<int, int>(std::isspace)))); ++ [](unsigned char c) { return !std::isspace(c); })); + } + + // trim from end (in place) +@@ -1769,7 +1769,7 @@ + rtrim(std::string &s) + { + s.erase(std::find_if(s.rbegin(), s.rend(), +- std::not1(std::ptr_fun<int, int>(std::isspace))).base(), s.end()); ++ [](unsigned char c) { return !std::isspace(c); }).base(), s.end()); + } + + // trim from both ends (in place)
View file
_service
Changed
@@ -1,6 +1,6 @@ <services> <service name="tar_scm"> - <param name="url">git@gitee.com:src-openeuler/systemtap.git</param> + <param name="url">git@gitee.com:openeuler-risc-v/systemtap.git</param> <param name="scm">git</param> <param name="revision">master</param> <param name="exclude">*</param>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2