diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2024-01-04 23:29:20 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2024-01-04 23:31:19 +0000 |
commit | 84f48aa51f7e02954562b32d01b5774e7531e702 (patch) | |
tree | e4ed3134629813623ef846487e6d8d046dbd5b2b /pkgs/tools/typesetting | |
parent | f567c559e35565b5a2c079e4fac8ab308355d7b2 (diff) | |
download | nixlib-84f48aa51f7e02954562b32d01b5774e7531e702.tar nixlib-84f48aa51f7e02954562b32d01b5774e7531e702.tar.gz nixlib-84f48aa51f7e02954562b32d01b5774e7531e702.tar.bz2 nixlib-84f48aa51f7e02954562b32d01b5774e7531e702.tar.lz nixlib-84f48aa51f7e02954562b32d01b5774e7531e702.tar.xz nixlib-84f48aa51f7e02954562b32d01b5774e7531e702.tar.zst nixlib-84f48aa51f7e02954562b32d01b5774e7531e702.zip |
texlive.bin.dvisvgm: fix `gcc-13` build
Without the change `texlive.bin.dvisvgm` fails the build on `staging-next` as: Character.hpp:33:17: error: 'uint32_t' does not name a type 33 | uint32_t number () const {return _number;} | ^~~~~~~~ Character.hpp:1:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? +++ |+#include <cstdint>
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/bin.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index 2d7f859c809c..f1816efb0cf9 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -323,6 +323,15 @@ dvisvgm = stdenv.mkDerivation { extraPrefix = "texk/dvisvgm/dvisvgm-src/"; hash = "sha256-CBCbc/woaFeLw7aBG/kSVYc3a5Q56zbAB64kK6mRy4g="; }) + + (fetchpatch { + name = "gcc-13.patch"; + url = "https://github.com/mgieseki/dvisvgm/commit/d5df85b403602c927fe56a1f692af91182a1facd.patch"; + stripLen = 1; + extraPrefix = "texk/dvisvgm/dvisvgm-src/"; + hash = "sha256-U5m9jPmfAXOQKaU+aO/h6hEAzHRPqKcdj5k8f5gU9JQ="; + excludes = [ "texk/dvisvgm/dvisvgm-src/src/ttf/TTFTable.hpp" ]; + }) ]; preConfigure = "cd texk/dvisvgm"; |