Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355113 - dev-dotnet/libgdiplus-2.8.1: compilation fails with media-libs/libpng-1.5.x
Summary: dev-dotnet/libgdiplus-2.8.1: compilation fails with media-libs/libpng-1.5.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL: https://bugzilla.novell.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-02-15 21:36 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-02-27 12:46 UTC (History)
0 users

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


Attachments
libgdiplus-2.8.1-libpng15.patch (libgdiplus-2.8.1-libpng15.patch,5.36 KB, patch)
2011-02-15 21:37 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 21:36:42 UTC
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DQT_SHARED -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/freetype2 -I/usr/include/libexif -Wall -Wno-unused -Wno-format -march=barcelona -O2 -pipe -fno-strict-aliasing -pthread -c pngcodec.c  -fPIC -DPIC -o .libs/pngcodec.o
pngcodec.c: In function 'gdip_load_png_properties':
pngcodec.c:119:15: error: dereferencing pointer to incomplete type
pngcodec.c:119:52: error: dereferencing pointer to incomplete type
pngcodec.c:121:35: error: dereferencing pointer to incomplete type
pngcodec.c:122:35: error: dereferencing pointer to incomplete type
pngcodec.c:137:3: warning: passing argument 5 of 'png_get_iCCP' from incompatible pointer type
/usr/include/libpng15/png.h:1904:1: note: expected 'png_bytepp' but argument is of type 'char **'
pngcodec.c: In function 'gdip_load_png_image_from_file_or_stream':
pngcodec.c:324:34: error: dereferencing pointer to incomplete type
pngcodec.c:325:31: error: dereferencing pointer to incomplete type
pngcodec.c:333:5: error: dereferencing pointer to incomplete type
pngcodec.c:333:5: error: dereferencing pointer to incomplete type
pngcodec.c:333:5: error: dereferencing pointer to incomplete type
pngcodec.c:342:15: error: dereferencing pointer to incomplete type
pngcodec.c:346:16: error: dereferencing pointer to incomplete type
pngcodec.c:346:38: error: dereferencing pointer to incomplete type
pngcodec.c:347:13: error: dereferencing pointer to incomplete type
pngcodec.c:347:35: error: dereferencing pointer to incomplete type
pngcodec.c:350:26: error: dereferencing pointer to incomplete type
pngcodec.c:351:5: error: dereferencing pointer to incomplete type
pngcodec.c:351:5: error: dereferencing pointer to incomplete type
pngcodec.c:351:5: error: dereferencing pointer to incomplete type
pngcodec.c:351:5: error: dereferencing pointer to incomplete type
pngcodec.c:494:8: error: dereferencing pointer to incomplete type
pngcodec.c:494:8: error: dereferencing pointer to incomplete type
pngcodec.c:494:8: error: dereferencing pointer to incomplete type
pngcodec.c:501:8: error: dereferencing pointer to incomplete type
pngcodec.c:501:8: error: dereferencing pointer to incomplete type
pngcodec.c:501:8: error: dereferencing pointer to incomplete type
pngcodec.c:508:8: error: dereferencing pointer to incomplete type
pngcodec.c:508:8: error: dereferencing pointer to incomplete type
pngcodec.c:508:8: error: dereferencing pointer to incomplete type
pngcodec.c:515:8: error: dereferencing pointer to incomplete type
pngcodec.c:515:8: error: dereferencing pointer to incomplete type
pngcodec.c:515:8: error: dereferencing pointer to incomplete type
make[2]: *** [pngcodec.lo] Error 1
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-02-15 21:37:54 UTC
Created attachment 262659 [details, diff]
libgdiplus-2.8.1-libpng15.patch

Patch from NetBSD
Comment 2 Pacho Ramos gentoo-dev 2011-02-27 12:46:29 UTC
+*libgdiplus-2.10 (27 Feb 2011)
+
+  27 Feb 2011; Pacho Ramos <pacho@gentoo.org> +libgdiplus-2.10.ebuild,
+  +files/libgdiplus-2.10.1-libpng15.patch, -libgdiplus-9999.ebuild:
+  Version bump for mono-2.10, remove 9999 as we don't support neither maintain
+  it. Fix libpng-1.5 building (bug #355113 by Lars Wendler).
+