mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +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,
|
qtbase,
|
||||||
qtsvg,
|
qtsvg,
|
||||||
qtmacextras,
|
qtmacextras,
|
||||||
|
fetchpatch,
|
||||||
ghostscriptX ? null,
|
ghostscriptX ? null,
|
||||||
extraFonts ? false,
|
extraFonts ? false,
|
||||||
chineseFonts ? false,
|
chineseFonts ? false,
|
||||||
|
@ -79,6 +80,14 @@ stdenv.mkDerivation {
|
||||||
qtmacextras
|
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 [
|
cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
(lib.cmakeFeature "TEXMACS_GUI" "Qt")
|
(lib.cmakeFeature "TEXMACS_GUI" "Qt")
|
||||||
(lib.cmakeFeature "CMAKE_INSTALL_PREFIX" "./TeXmacs.app/Contents/Resources")
|
(lib.cmakeFeature "CMAKE_INSTALL_PREFIX" "./TeXmacs.app/Contents/Resources")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue