Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388255 - games-emulation/raine-0.51.9 fails to compile with libpng15
Summary: games-emulation/raine-0.51.9 fails to compile with libpng15
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: Normal trivial (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-10-23 19:06 UTC by Roman 'gryf' Dobosz
Modified: 2011-10-23 19:34 UTC (History)
0 users

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


Attachments
Using png_jmpbuf instead jmpbuf fix the problem (raine-0.51.9-libpng1.5.patch,368 bytes, text/plain)
2011-10-23 19:09 UTC, Roman 'gryf' Dobosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 'gryf' Dobosz 2011-10-23 19:06:02 UTC
Compilation of raine crashes every time with following error:

[...]
i686-pc-linux-gnu-gcc -O3 -Isource -Isource/68000 -Isource/z80 -Isource/sound -Isource/games -Isource/video -Isource/mini-unzip -Isource/mame -Isource/6502 -Isource/68020 -Isource/m68705  "-I/usr/include/libpng15"  -I/include -I/include -I source/sdl -I/usr/local/include -I/usr/include/muParser -D__RAINE__ -DRAINE_UNIX -O2 -march=i686 -pipe -fomit-frame-pointer -Wno-trigraphs -fschedule-insns2 -funroll-all-loops -fexpensive-optimizations -ffast-math -w -fomit-frame-pointer -pipe -DHAS_CONSOLE -DUSE_BEZELS=1 -DSDL  `sdl-config --cflags` -c source/savepng.c -o linux-gnu-sdl/object/savepng.o
source/savepng.c: In function ‘really_save_png’:
source/savepng.c:206:9: error: dereferencing pointer to incomplete type
make: *** [linux-gnu-sdl/object/savepng.o] Error 1
emake failed


Reproducible: Always

Steps to Reproduce:
1. emerge raine
2. see it fails :)
Comment 1 Roman 'gryf' Dobosz 2011-10-23 19:09:21 UTC
Created attachment 290663 [details]
Using png_jmpbuf instead jmpbuf fix the problem
Comment 2 Samuli Suominen gentoo-dev 2011-10-23 19:34:11 UTC
Thanks a lot!

+  23 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> raine-0.51.9.ebuild,
+  +files/raine-0.51.9-libpng15.patch:
+  Fix building with libpng15 wrt #388255 by Roman Dobosz. Fix building with
+  zlib >= 1.2.5.1-r1 (OF).

Please use full category/package-version in the bug summary next time, it's more clear that way.  Thanks again.