FreeBSD Bugzilla – Attachment 104902 Details for
Bug 145159
error: cannot portupgrade graphics/digikam-kde4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-thumbnailbasic.cpp.diff
patch-thumbnailbasic.cpp.diff (text/plain), 750 bytes, created by
Andrei V. Lavreniyuk
on 2010-03-29 08:50:30 UTC
(
hide
)
Description:
patch-thumbnailbasic.cpp.diff
Filename:
MIME Type:
Creator:
Andrei V. Lavreniyuk
Created:
2010-03-29 08:50:30 UTC
Size:
750 bytes
patch
obsolete
>--- libs/threadimageio/thumbnailbasic.cpp.orig 2010-01-31 15:21:53.000000000 +0200 >+++ libs/threadimageio/thumbnailbasic.cpp 2010-03-29 10:40:10.024395457 +0300 >@@ -137,7 +137,7 @@ > unsigned char buf[PNG_BYTES_TO_CHECK]; > > size_t itemsRead = fread(buf, 1, PNG_BYTES_TO_CHECK, f); >- if (itemsRead != 1 || !png_check_sig(buf, PNG_BYTES_TO_CHECK)) >+ if (itemsRead != 1 || png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK)) > { > fclose(f); > return qimage; >@@ -232,7 +232,7 @@ > { > png_set_gray_to_rgb(png_ptr); > if (png_get_bit_depth(png_ptr, info_ptr) < 8) >- png_set_gray_1_2_4_to_8(png_ptr); >+ png_set_expand_gray_1_2_4_to_8(png_ptr); > } > > int sizeOfUint = sizeof(unsigned int);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 145159
:
104900
|
104901
| 104902