add more reference

This commit is contained in:
Mamoru TASAKA 2022-07-28 16:26:14 +09:00
parent 1421d50347
commit 64bae1281d
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ sed -i %{gem_name}-%{version}.gemspec \
%build
# cairo 1.17.6 changed the default SVG unit to user unit
# https://gitlab.freedesktop.org/cairo/cairo/-/commit/d397ab6d10123e6bbcf9ae446cc8ffd981f18222
# https://gitlab.freedesktop.org/cairo/cairo/-/issues/545
# https://github.com/rcairo/rcairo/issues/75
if pkg-config --atleast-version 1.17.6 cairo ; then
sed -i test/test_svg_surface.rb -e 's|Cairo::SVGUnit::PT|Cairo::SVGUnit::USER|'
fi