graphite2: disable broken 'nametabletest' (fails on gcc-13)
Without the change the test fails on gcc-13 as: $ ./tests/nametabletest/nametabletest tests/nametabletest/nametabletest.cpp:142:79: runtime error: index 5 out of bounds for type 'NameRecord [5]' ... tests/nametabletest/nametabletest.cpp:142:79: runtime error: index 7 out of bounds for type 'NameRecord [7]' ... In https://github.com/silnrsi/graphite/pull/74 upstream agrees it's a problem in the test (and possibly the library). Let's disable the test itself until upstream fixes it completely.
This commit is contained in:
parent
8d7893bf22
commit
9ff76a51e9
|
@ -21,6 +21,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"
|
||||
|
|
Loading…
Reference in a new issue