texmacs: Apply patch to fix compile error with clang 19.5

This commit is contained in:
LionsTech 2025-02-26 23:22:59 +01:00
parent 26405f7a46
commit 352d98d37e

View file

@ -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")