texlive.dvisvgm.pkgs: fix build with clang 16

This commit is contained in:
Weijia Wang 2023-11-10 03:23:10 +01:00
parent 3f616fad02
commit a42220320a

View File

@ -310,12 +310,21 @@ chktex = stdenv.mkDerivation {
};
dvisvgm = stdenv.mkDerivation rec {
dvisvgm = stdenv.mkDerivation {
pname = "texlive-dvisvgm.bin";
inherit version;
inherit (common) src;
patches = [
(fetchpatch {
url = "https://github.com/mgieseki/dvisvgm/commit/629544928877362d0c6d64f20695f7df3073c5eb.patch";
stripLen = 1;
extraPrefix = "texk/dvisvgm/dvisvgm-src/";
hash = "sha256-CBCbc/woaFeLw7aBG/kSVYc3a5Q56zbAB64kK6mRy4g=";
})
];
preConfigure = "cd texk/dvisvgm";
configureFlags = common.configureFlags