FS#23359 - [libmatchbox] wrong png_sig_cmp patch

Attached to Project: Community Packages
Opened by Roman Denisov (manro) - Sunday, 20 March 2011, 01:49 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 20 March 2011, 08:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
build() function in PKGBUILD of libmatchbox 1.9 used patch to replace it with old function png_check_sig with new one png_sig_cmp, but due to change return value meaning in the new function replacement should be following:

sed -i 's|png_check_sig( header, 8 )|png_sig_cmp( header, 0, 8 ) == 0|' libmb/mbpixbuf.c

instead of

sed -i 's|png_check_sig( header, 8 )|png_sig_cmp( header, 0, 8 )|' libmb/mbpixbuf.c

cause png_sig_cmp returning now zero same as memcmp does, in case of equivalence.

Because of to this bug matchbox cannot now to load any png file from themes.

Additional info:
* package version(s)
libmatchbox 1.9

This task depends upon

Closed by  Sergej Pupykin (sergej)
Sunday, 20 March 2011, 08:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  thanks

Loading...