Add valgrind-3.21.0-callgrind_control-no-strict.patch

This commit is contained in:
Mark Wielaard 2023-06-01 18:23:51 +02:00
parent 0bfc408a6b
commit f579fefc75
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff --git a/callgrind/callgrind_control.in b/callgrind/callgrind_control.in
index 083ffa29f..eb50c16ad 100644
--- a/callgrind/callgrind_control.in
+++ b/callgrind/callgrind_control.in
@@ -22,7 +22,6 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
-use strict;
use warnings;
use File::Basename;

View File

@ -95,6 +95,10 @@ Patch6: valgrind-3.21.0-Add-with-gdbscripts-dir.patch
# https://bugs.kde.org/show_bug.cgi?id=460192 # https://bugs.kde.org/show_bug.cgi?id=460192
Patch7: valgrind-3.21.0-epoll_pwait2.patch Patch7: valgrind-3.21.0-epoll_pwait2.patch
# Can't run callgrind_control with valgrind 3.21.0 because of perl errors
# https://bugs.kde.org/show_bug.cgi?id=470121
Patch8: valgrind-3.21.0-callgrind_control-no-strict.patch
BuildRequires: make BuildRequires: make
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -235,6 +239,7 @@ Valgrind User Manual for details.
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1 %patch7 -p1
%patch8 -p1
%build %build
@ -468,6 +473,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Jun 1 2023 Mark Wielaard <mjw@fedoraproject.org>
- Add valgrind-3.21.0-callgrind_control-no-strict.patch
* Tue May 30 2023 Mark Wielaard <mjw@fedoraproject.org> - 3.21.0-5 * Tue May 30 2023 Mark Wielaard <mjw@fedoraproject.org> - 3.21.0-5
- Update valgrind-3.21.0-no-memcpy-replace-check.patch (memcpy_chk) - Update valgrind-3.21.0-no-memcpy-replace-check.patch (memcpy_chk)