Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354989 - media-libs/imlib2: compilation fails with media-libs/libpng-1.5.x
Summary: media-libs/imlib2: compilation fails with media-libs/libpng-1.5.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL: http://sourceforge.net/mailarchive/me...
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-02-15 09:54 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-02-19 19:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
imlib2-1.4.4-libpng15.patch (imlib2-1.4.4-libpng15.patch,2.49 KB, patch)
2011-02-15 09:56 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-02-15 09:54:44 UTC
make[4]: Entering directory `/var/tmp/portage/media-libs/imlib2-1.4.4/work/imlib2-1.4.4/src/modules/loaders'
  CC     jpeg_la-loader_jpeg.lo
  CCLD   jpeg.la
  CC     png_la-loader_png.lo
loader_png.c: In function ‘load’:
loader_png.c:61:13: error: dereferencing pointer to incomplete type
loader_png.c: In function ‘save’:
loader_png.c:268:8: error: dereferencing pointer to incomplete type
loader_png.c:280:18: error: dereferencing pointer to incomplete type
loader_png.c:289:55: error: dereferencing pointer to incomplete type
loader_png.c:300:29: error: dereferencing pointer to incomplete type
loader_png.c: In function ‘load’:
loader_png.c:40:14: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
make[4]: *** [png_la-loader_png.lo] Error 1


There's a patch from NetBSD available (see URL). Dunno if it already was reported upstream though.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-02-15 09:56:52 UTC
Created attachment 262583 [details, diff]
imlib2-1.4.4-libpng15.patch

This is the patch from NetBSD. Like I said it's not from upstream but seems to work.
Comment 2 SpanKY gentoo-dev 2011-02-19 19:37:32 UTC
ive committed the patch upstream and added to our repo ... thanks

http://sources.gentoo.org/media-libs/imlib2/imlib2-1.4.4.ebuild?r1=1.8&r2=1.9
http://sources.gentoo.org//imlib2-1.4.4-libpng-1.5.patch?rev=1.1