Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355079 - sci-astronomiy/celestia-1.6.0: compilation fails with media-libs/libpng-1.5.x
Summary: sci-astronomiy/celestia-1.6.0: 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: Gentoo Science Related Packages
URL: http://cvsweb.netbsd.org/bsdweb.cgi/~...
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-02-15 18:30 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-08-07 08:02 UTC (History)
0 users

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


Attachments
celestia-1.6.0-libpng15.patch (celestia-1.6.0-libpng15.patch,462 bytes, patch)
2011-02-15 18:31 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 18:30:48 UTC
i686-pc-linux-gnu-g++ -DCONFIG_DATA_DIR='"/usr/share/celestia"' -DLOCALEDIR='"/usr/share/locale"' -DHAVE_CONFIG_H -I. -I../.. -I..    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=barcelona -O2 -pipe -fsigned-char -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common   -Wall    -pthread -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -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/gtkglext-1.0 -I/usr/lib/gtkglext-1.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        -DLUA_VER=0x050100 -DCELX -MT url.o -MD -MP -MF .deps/url.Tpo -c -o url.o url.cpp
favorites.cpp: In function ‘void WriteFavoritesList(FavoritesList&, std::ostream&)’:
favorites.cpp:138:20: warning: enumeration value ‘PhaseLock_Old’ not handled in switch
favorites.cpp:138:20: warning: enumeration value ‘Chase_Old’ not handled in switch
favorites.cpp:138:20: warning: enumeration value ‘Unknown’ not handled in switch
imagecapture.cpp: In function ‘bool CaptureGLBufferToPNG(const std::string&, int, int, int, int)’:
imagecapture.cpp:184:40: error: ‘Z_BEST_COMPRESSION’ was not declared in this scope
imagecapture.cpp: In function ‘void PNGWriteData(png_struct*, png_byte*, png_size_t)’:
imagecapture.cpp:113:40: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make[4]: *** [imagecapture.o] Error 1
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-02-15 18:31:50 UTC
Created attachment 262645 [details, diff]
celestia-1.6.0-libpng15.patch

Patch taken from NetBSD (see URL).
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-08-07 08:02:50 UTC
+  07 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> celestia-1.6.1.ebuild,
+  +files/celestia-1.6.1-libpng15.patch:
+  Include zlib.h for Z_BEST_COMPRESSION (required by libpng15 porting) wrt
+  #355079 by Lars Wendler