Package: rlottie
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lunar ubuntu-patch
X-Debbugs-Cc: vladimir.pe...@canonical.com

Dear Maintainer,

rlottie package failed to build from source on ppcl64el with the following
error:

/<<PKGBUILDDIR>>/src/vector/vcowptr.h:52:46: error: ‘operator delete(void*,
unsigned long)’ called on unallocated object
‘vcow_ptr<VRle::VRleData>::vcow_ptr()::default_s’ [-Werror=free-nonheap-object]
   52 | if (mModel && (--mModel->mRef == 0)) delete mModel;
      | ^~~~~~~~~~~~~

[1]

In Ubuntu, the attached patch was applied to achieve the following:

 - use default constructor implementation
 - initialise mModel member variable
 - provide the "default" static object value for read() method instead

Thanks for considering the patch.

[1] https://launchpadlibrarian.net/648312166/buildlog_ubuntu-lunar-
ppc64el.rlottie_0.1+dfsg-4_BUILDING.txt.gz

Attachment: rlottie_0.1+dfsg-4ubuntu1.debdiff
Description: Binary data

Reply via email to