prelink: unstable-2019-06-24 -> 20151030-unstable-2024-07-02

Without the change build fails on `gcc-14` as
https://hydra.nixos.org/build/294837353:

    execstack.c: In function 'execstack_make_rdwr':
    execstack.c:138:17: error: passing argument 1 of 'asprintf' from incompatible pointer type []
      138 |       asprintf (&prelink_path, "%s/%s", dirname, PRELINK_PROG EXEEXT);
          |                 ^~~~~~~~~~~~~
          |                 |
          |                 const char **

(cherry picked from commit 22d5893fae)
This commit is contained in:
Sergei Trofimovich
2025-04-28 22:59:06 +01:00
committed by github-actions[bot]
parent b4d0bda0b8
commit a8baf52454

View File

@@ -5,17 +5,18 @@
autoreconfHook,
libelf,
libiberty,
unstableGitUpdater,
}:
stdenv.mkDerivation {
pname = "prelink";
version = "unstable-2019-06-24";
version = "20151030-unstable-2024-07-02";
src = fetchgit {
url = "https://git.yoctoproject.org/git/prelink-cross";
url = "https://git.yoctoproject.org/prelink-cross";
branchName = "cross_prelink";
rev = "f9975537dbfd9ade0fc813bd5cf5fcbe41753a37";
sha256 = "sha256-O9/oZooLRyUBBZX3SFcB6LFMmi2vQqkUlqtZnrq5oZc=";
rev = "ff2561c02ade96c5d4d56ddd4e27ff064840a176";
sha256 = "sha256-wmX7ybrZDWEop9fiInZMvgK/fpEk3sq+Wu8DSWWIvQY=";
};
strictDeps = true;
@@ -40,6 +41,8 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "ELF prelinking utility to speed up dynamic linking";
homepage = "https://wiki.yoctoproject.org/wiki/Cross-Prelink";