Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
perl-Cairo
perl-Cairo.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Cairo.diff of Package perl-Cairo
--- ./t/CairoPath.t.orig 2012-06-06 16:30:07.000000000 +0000 +++ ./t/CairoPath.t 2012-06-06 16:30:32.000000000 +0000 @@ -30,8 +30,11 @@ my $expected_path = [ { type => "line-to", points => [[3, 4]] }, { type => "curve-to", points => [[5, 6], [7, 8], [9, 10]] }, { type => "close-path", points => [] }, - { type => "move-to", points => [[1, 2]] } ]; +# since cairo-1.12 close_path() lazily adds a move-to element +if (Cairo::VERSION() < Cairo::VERSION_ENCODE(1, 12, 0)) { + push @$expected_path, { type => "move-to", points => [[1, 2]] }; +} my $path = $cr->copy_path; is_deeply ($path, $expected_path);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor