diff options
author | 7c6f434c <7c6f434c@mail.ru> | 2023-06-07 17:27:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 17:27:00 +0000 |
commit | 13bf15c3b97a77c6f59bdeb5beb819a4bb38b769 (patch) | |
tree | ce1ede50c8d029b8d2c9b85a2f952f5519a92bb6 | |
parent | c92f3af69d81f2ed8682cb06a9d64ccf6fd687b6 (diff) | |
parent | 9ff76a51e918788ecbc5df0189310352eb055c2d (diff) |
Merge pull request #234886 from trofi/graphite2-gcc-13-fix
graphite2: disable broken 'nametabletest' (fails on gcc-13)
-rw-r--r-- | pkgs/development/libraries/silgraphite/graphite2.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/silgraphite/graphite2.nix b/pkgs/development/libraries/silgraphite/graphite2.nix index 495a5ba04f071..5e7358fa15f9a 100644 --- a/pkgs/development/libraries/silgraphite/graphite2.nix +++ b/pkgs/development/libraries/silgraphite/graphite2.nix @@ -23,6 +23,12 @@ stdenv.mkDerivation rec { buildInputs = [ freetype ]; patches = lib.optionals stdenv.isDarwin [ ./macosx.patch ]; + postPatch = '' + # disable broken 'nametabletest' test, fails on gcc-13: + # https://github.com/silnrsi/graphite/pull/74 + substituteInPlace tests/CMakeLists.txt \ + --replace 'add_subdirectory(nametabletest)' '#add_subdirectory(nametabletest)' + ''; cmakeFlags = lib.optionals static [ "-DBUILD_SHARED_LIBS=OFF" |