Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466034 - =x11-libs/gdk-pixbuf-2.28.0: implicit declaration of function 'str*' after libpng16 upgrade
Summary: =x11-libs/gdk-pixbuf-2.28.0: implicit declaration of function 'str*' after li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng16
  Show dependency tree
 
Reported: 2013-04-15 22:14 UTC by Samuli Suominen (RETIRED)
Modified: 2013-04-15 22:50 UTC (History)
0 users

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


Attachments
gdk-pixbuf-2.28.0-string_h.patch (gdk-pixbuf-2.28.0-string_h.patch,748 bytes, patch)
2013-04-15 22:18 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2013-04-15 22:14:10 UTC
png.h used to #include <string.h> and it looks like gdk-pixbuf mistakenly relied on it

i wouldn't have filed this otherwise but the package is important enough and the reason is known

io-png.c:851:24: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration]
io-png.c:853:32: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
io-png.c:873:24: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
io-png.c:853:46: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
io-png.c:944:58: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-04-15 22:18:19 UTC
Created attachment 345648 [details, diff]
gdk-pixbuf-2.28.0-string_h.patch
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-04-15 22:24:02 UTC
Upstream bug:

https://bugzilla.gnome.org/show_bug.cgi?id=698093
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-04-15 22:50:07 UTC
01:45 < EvaSDK> oh if it's trivial and backward tralala, feel free to commit :)

+  15 Apr 2013; Samuli Suominen <ssuominen@gentoo.org> gdk-pixbuf-2.28.0.ebuild,
+  +files/gdk-pixbuf-2.28.0-string_h.patch:
+  Fix missing include string.h in gdk-pixbuf/io-png.c for strcmp, strlen and
+  strncmp (revealed by the libpng16 upgrade) wrt #466034
+