diff options
author | Mauricio Collares <mauricio@collares.org> | 2023-11-03 18:42:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 18:42:52 +0100 |
commit | 9fbf6ca42f5b74878305fb7925f508b016d2a248 (patch) | |
tree | dcc8cc18d510a6cf3b49c8f49b93a53d1e3111e8 /pkgs | |
parent | 0dca32340c02f08e629388a5edddbd856a239780 (diff) | |
parent | 307afe546ea4ffb3493af0bd5e534c7458fd45e6 (diff) |
Merge pull request #265250 from wegank/gf2x-clang-16
gf2x: fix build with clang 16
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/gf2x/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gf2x/default.nix b/pkgs/development/libraries/gf2x/default.nix index 70d06c107fd55..1b45be6112812 100644 --- a/pkgs/development/libraries/gf2x/default.nix +++ b/pkgs/development/libraries/gf2x/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitLab +, fetchpatch , autoreconfHook , buildPackages , optimize ? false # impure hardware optimizations @@ -17,6 +18,14 @@ stdenv.mkDerivation rec { sha256 = "04g5jg0i4vz46b4w2dvbmahwzi3k6b8g515mfw7im1inc78s14id"; }; + patches = [ + (fetchpatch { + name = "gf2x-1.3.0-configure-clang16.patch"; + url = "https://gitlab.inria.fr/gf2x/gf2x/-/commit/a2f0fd388c12ca0b9f4525c6cfbc515418dcbaf8.diff"; + hash = "sha256-Aj2KzWZMR24S04IbPOBPwacCU4rEiB+FFWxtRuF50LA="; + }) + ]; + depsBuildBuild = [ buildPackages.stdenv.cc ]; nativeBuildInputs = [ |