mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
texmacs: Apply patch to fix compile error with clang 19.5
This commit is contained in:
parent
26405f7a46
commit
352d98d37e
1 changed files with 9 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue