Skip to content

Commit d601ee4

Browse files
committed
rsvg: improve zune-jpeg workaround
1 parent c0a0e38 commit d601ee4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build/lin.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -420,12 +420,11 @@ sed -i'.bak' "/image = /s/, \"gif\", \"webp\"//" rsvg/Cargo.toml
420420
sed -i'.bak' "/cairo-rs = /s/, \"pdf\", \"ps\"//" {librsvg-c,rsvg}/Cargo.toml
421421
# Skip build of rsvg-convert
422422
sed -i'.bak' "/subdir('rsvg_convert')/d" meson.build
423-
# https://github.com/etemesi254/zune-image/pull/187
424-
# https://github.com/bevyengine/bevy/issues/14117#issuecomment-2236518551
423+
# https://github.com/etemesi254/zune-image/pull/242
425424
# https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
426425
cat >> Cargo.toml <<EOL
427426
[patch.crates-io]
428-
zune-jpeg = { git = "https://github.com/ironpeak/zune-image.git", rev = "eebb01b" }
427+
zune-jpeg = { git = "https://github.com/etemesi254/zune-image.git", rev = "80e1957" }
429428
EOL
430429
# Regenerate the lockfile for zune-jpeg
431430
cargo update zune-jpeg

0 commit comments

Comments
 (0)