Merge pull request #234886 from trofi/graphite2-gcc-13-fix
graphite2: disable broken 'nametabletest' (fails on gcc-13)
This commit is contained in:
commit
13bf15c3b9
|
@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ freetype ];
|
buildInputs = [ freetype ];
|
||||||
|
|
||||||
patches = lib.optionals stdenv.isDarwin [ ./macosx.patch ];
|
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 [
|
cmakeFlags = lib.optionals static [
|
||||||
"-DBUILD_SHARED_LIBS=OFF"
|
"-DBUILD_SHARED_LIBS=OFF"
|
||||||
|
|
Loading…
Reference in a new issue