texmacs: Apply patch to fix compile error with clang 19.5 (#373205)

This commit is contained in:
Weijia Wang
2025-04-23 08:07:51 +02:00
committed by GitHub
@@ -20,6 +20,7 @@
qtbase,
qtsvg,
qtmacextras,
fetchpatch,
ghostscriptX ? null,
extraFonts ? false,
chineseFonts ? false,
@@ -79,6 +80,14 @@ stdenv.mkDerivation {
qtmacextras
];
patches = [
(fetchpatch {
name = "fix-compile-clang-19.5.patch";
url = "https://github.com/texmacs/texmacs/commit/e72783b023f22eaa0456d2e4cc76ae509d963672.patch";
hash = "sha256-oJCiXWTY89BdxwbgtFvfThid0WM83+TAUThSihfr0oA=";
})
];
cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [
(lib.cmakeFeature "TEXMACS_GUI" "Qt")
(lib.cmakeFeature "CMAKE_INSTALL_PREFIX" "./TeXmacs.app/Contents/Resources")