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>
This commit is contained in:
Sergei Trofimovich 2024-01-04 23:29:20 +00:00
parent f567c559e3
commit 84f48aa51f

View File

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