Add PTR patch to Extrae

This commit is contained in:
Rodrigo Arias 2023-03-02 12:03:12 +01:00
parent 7ef24b88e4
commit 4b5a948918
2 changed files with 21 additions and 4 deletions

13
bsc/extrae/PTR.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/src/merger/common/bfd_manager.c b/src/merger/common/bfd_manager.c
index 5f9dacf9..5231e3eb 100644
--- a/src/merger/common/bfd_manager.c
+++ b/src/merger/common/bfd_manager.c
@@ -225,7 +225,7 @@ asymbol **BFDmanager_getDefaultSymbols (void)
*
* @return No return value.
*/
-static void BFDmanager_findAddressInSection (bfd * abfd, asection * section, PTR data)
+static void BFDmanager_findAddressInSection (bfd * abfd, asection * section, void * data)
{
#if HAVE_BFD_GET_SECTION_SIZE || HAVE_BFD_SECTION_SIZE || HAVE_BFD_GET_SECTION_SIZE_BEFORE_RELOC
bfd_size_type size;

View File

@ -38,10 +38,14 @@ stdenv.mkDerivation rec {
sha256 = "SlMYxNQXJ0Xg90HmpnotUR3tEPVVBXhk1NtEBJwGBR4="; sha256 = "SlMYxNQXJ0Xg90HmpnotUR3tEPVVBXhk1NtEBJwGBR4=";
}; };
# FIXME: Waiting for German to merge this patch. Still not in master, merged patches = [
# on 2023-03-01 in devel branch (after 3 years), see: # FIXME: Waiting for German to merge this patch. Still not in master, merged
# https://github.com/bsc-performance-tools/extrae/pull/45 # on 2023-03-01 in devel branch (after 3 years), see:
patches = [ ./use-command.patch ]; # https://github.com/bsc-performance-tools/extrae/pull/45
./use-command.patch
# https://github.com/bsc-performance-tools/extrae/issues/71
./PTR.patch
];
enableParallelBuilding = true; enableParallelBuilding = true;
hardeningDisable = [ "all" ]; hardeningDisable = [ "all" ];