Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355051 - app-emulation/virtualbox: compilation fails with media-libs/libpng-1.5.x
Summary: app-emulation/virtualbox: compilation fails with media-libs/libpng-1.5.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: http://www.virtualbox.org/ticket/8464
Whiteboard:
Keywords:
Depends on: 364395
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-02-15 17:21 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-04-22 15:48 UTC (History)
3 users (show)

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


Attachments
fix (libpng.patch,1.20 KB, patch)
2011-02-27 20:18 UTC, Alexis Ballier
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 17:21:26 UTC
CXX     VBoxC - {C}/src/VBox/Main/src-all/DisplayPNGUtil.cpp
/var/tmp/portage/app-emulation/virtualbox-4.0.2/work/VirtualBox-4.0.2_OSE/src/VBox/Main/src-all/DisplayPNGUtil.cpp: In function ‘int DisplayMakePNG(uint8_t*, uint32_t, uint32_t, uint8_t**, uint32_t*, uint32_t*, uint32_t*, uint8_t)’:
/var/tmp/portage/app-emulation/virtualbox-4.0.2/work/VirtualBox-4.0.2_OSE/src/VBox/Main/src-all/DisplayPNGUtil.cpp:155:43: error: ‘voidp’ was not declared in this scope
/var/tmp/portage/app-emulation/virtualbox-4.0.2/work/VirtualBox-4.0.2_OSE/src/VBox/Main/src-all/DisplayPNGUtil.cpp:176:37: error: invalid use of incomplete type ‘struct png_info’
/usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’
/var/tmp/portage/app-emulation/virtualbox-4.0.2/work/VirtualBox-4.0.2_OSE/src/VBox/Main/src-all/DisplayPNGUtil.cpp:177:62: error: invalid use of incomplete type ‘struct png_info’
/usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-4.0.2/work/VirtualBox-4.0.2_OSE/out/linux.x86/release/obj/VBoxC/src-all/DisplayPNGUtil.o] Error 1
Comment 1 Alexis Ballier gentoo-dev 2011-02-27 20:18:54 UTC
Created attachment 264091 [details, diff]
fix

not upstreamed, please do it
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-02-28 22:47:25 UTC
Thanks Alexis. Reported this upstream (see URL).
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-04-22 12:33:10 UTC
Upstream added the patch to virtualbox-4.0.6
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-04-22 15:48:57 UTC
4.0.6 in CVS.