<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>48859</bug_id>
          
          <creation_ts>2004-04-24 02:34 0000</creation_ts>
          <short_desc>snes9x 1.42-r1 can&apos;t find libpng (1.2.5-r4) during configuration: snapshot disabled.</short_desc>
          <delta_ts>2004-06-06 02:42:41 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>TEST-REQUEST</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sanchan@gentoo.org</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>sanchan@gentoo.org</who>
            <bug_when>2004-04-24 02:34:08 0000</bug_when>
            <thetext>the configure script can&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-06-03 21:40:21 0000</bug_when>
            <thetext>oh man, this ebuild just keeps getting uglier.  Please resync and try it with
version 1.3 of the ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-06-05 00:02:14 0000</bug_when>
            <thetext>forgot to change the state.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sanchan@gentoo.org</who>
            <bug_when>2004-06-06 01:30:40 0000</bug_when>
            <thetext>It works for me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-06-06 02:42:41 0000</bug_when>
            <thetext>Great, thanks for testing.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>