Add valgrind-3.21.0-callgrind_control-no-strict.patch
Resolves: #2214397 callgrind_control produces (strict perl) errors
This commit is contained in:
		
							parent
							
								
									9db389c953
								
							
						
					
					
						commit
						a89dd56332
					
				
							
								
								
									
										12
									
								
								valgrind-3.21.0-callgrind_control-no-strict.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								valgrind-3.21.0-callgrind_control-no-strict.patch
									
									
									
									
									
										Normal 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; | ||||||
| @ -91,6 +91,10 @@ Patch5: valgrind-3.21.0-no-memcpy-replace-check.patch | |||||||
| # https://bugs.kde.org/show_bug.cgi?id=469768 | # https://bugs.kde.org/show_bug.cgi?id=469768 | ||||||
| Patch6: valgrind-3.21.0-Add-with-gdbscripts-dir.patch | Patch6: valgrind-3.21.0-Add-with-gdbscripts-dir.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 | ||||||
| 
 | 
 | ||||||
| @ -229,9 +233,11 @@ Valgrind User Manual for details. | |||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
| %patch5 -p1 | %patch5 -p1 | ||||||
| 
 |  | ||||||
| %patch6 -p1 | %patch6 -p1 | ||||||
| 
 | 
 | ||||||
|  | %patch8 -p1 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| %build | %build | ||||||
| # LTO triggers undefined symbols in valgrind.  Valgrind has a --enable-lto | # LTO triggers undefined symbols in valgrind.  Valgrind has a --enable-lto | ||||||
| # configure time option, but that doesn't seem to help. | # configure time option, but that doesn't seem to help. | ||||||
| @ -463,6 +469,9 @@ fi | |||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Fri Jun 23 2023 Mark Wielaard <mjw@redhat.com> | ||||||
|  | - Add valgrind-3.21.0-callgrind_control-no-strict.patch | ||||||
|  | 
 | ||||||
| * Tue May 16 2023 Alexandra Hájková <ahajkova@redhat.com> - 3.21.0-3 | * Tue May 16 2023 Alexandra Hájková <ahajkova@redhat.com> - 3.21.0-3 | ||||||
| - Add valgrind-3.21.0-Add-with-gdbscripts-dir.patch | - Add valgrind-3.21.0-Add-with-gdbscripts-dir.patch | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user