Bug 48859 - snes9x 1.42-r1 can't find libpng (1.2.5-r4) during configuration: snapshot disabled.
Bug#: 48859 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: CLOSED Severity: major Priority: P2
Resolution: TEST-REQUEST Assigned To: games@gentoo.org Reported By: sanchan@gentoo.org
Component: Games
URL: 
Summary: snes9x 1.42-r1 can't find libpng (1.2.5-r4) during configuration: snapshot disabled.
Keywords:  
Status Whiteboard: 
Opened: 2004-04-24 02:34 0000
Description:   Opened: 2004-04-24 02:34 0000
the configure script can't find libpng. The problem seems to be a autoconf
macro that try to find the function png_jmpbuf in the png library.
Workaround: edit Makefile after configure, adding -DHAVE_LIBPNG in CCFLAGS,
adding -lpng -lm -lz in LDLIBS.
If you want, you can also edit OPTIMISE for your system... the configure set it
for gcc 2 flags...
I use: -O3 -mmmx -msse -fomit-frame-pointer -ftracer -march=pentium3
Avoid -ffast-math because the compilation fails.
The problem is also verified under slackware current. It must be a configure
error.

Reproducible: Always
Steps to Reproduce:
1. emerge snes9x
2. see what config print out
3. try to use PrtScr when running snes9x

Actual Results:  
snes9x is built without screenshot support

Expected Results:  
snes9x is built with screenshot support

running latest gentoo ~x86 with linux-2.6.5, linux-header 2.6.5, udev, glibc
with nptl enabled, xorg-x11.

------- Comment #1 From Mr. Bones. 2004-06-03 21:40:21 0000 -------
oh man, this ebuild just keeps getting uglier.  Please resync and try it with
version 1.3 of the ebuild.

------- Comment #2 From Mr. Bones. 2004-06-05 00:02:14 0000 -------
forgot to change the state.

------- Comment #3 From Sandro Bonazzola (RETIRED) 2004-06-06 01:30:40 0000 -------
It works for me.

------- Comment #4 From Mr. Bones. 2004-06-06 02:42:41 0000 -------
Great, thanks for testing.