Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465476 - media-gfx/freepv-0.3.0-r4 fails to compile with libpng-1.6 and >=sys-devel/gcc-4.7 (fails to include string.h for memcpy())
Summary: media-gfx/freepv-0.3.0-r4 fails to compile with libpng-1.6 and >=sys-devel/gc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: libpng16 504466
  Show dependency tree
 
Reported: 2013-04-11 07:53 UTC by Helmut Jarausch
Modified: 2014-03-13 16:43 UTC (History)
0 users

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


Attachments
patch to include strings.h (freepv-0.3.0-memcpy.patch,247 bytes, patch)
2013-04-11 07:53 UTC, Helmut Jarausch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2013-04-11 07:53:11 UTC
Created attachment 345176 [details, diff]
patch to include strings.h

to use memcpy one has to include strings.h (as ever)
But now (gcc 4.7.2 or later) generates an error.
Comment 1 Bernard Cafarelli gentoo-dev 2013-04-11 13:06:23 UTC
Thanks for the report and patch!
Indeed it was provided via libpng headers inclusion, but this is no more the case in 1.6

I added the patch in current ~arch ebuild