<?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>204436</bug_id>
          
          <creation_ts>2008-01-05 15:34 0000</creation_ts>
          <short_desc>dev-libs/libcdio-0.79 GCC 4.3 patch</short_desc>
          <delta_ts>2008-04-20 22:35:40 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>GCC Porting</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>198121</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>dirtyepic@gentoo.org</reporter>
          <assigned_to>flameeyes@gentoo.org</assigned_to>
          <cc>devurandom@gmx.net</cc>
    
    <cc>esqualante@o2.pl</cc>
    
    <cc>media-video@gentoo.org</cc>
    
    <cc>milan@cmm.ki.si</cc>

      

      
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-01-05 15:34:52 0000</bug_when>
            <thetext>Hey Diego.  Looks like libcdio-0.79 is broken with GCC 4.3 again.

 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include/ -O3 -g -march=native -fomit-frame-pointer -pipe -c iso9660.cpp  -fPIC -DPIC -o .libs/iso9660.o
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include/ -O3 -g -march=native -fomit-frame-pointer -pipe -c cdio.cpp -o cdio.o &gt;/dev/null 2&gt;&amp;1
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include/ -O3 -g -march=native -fomit-frame-pointer -pipe -c devices.cpp -o devices.o &gt;/dev/null 2&gt;&amp;1
/bin/sh ../../libtool --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O3 -g -march=native -fomit-frame-pointer -pipe  -Wl,-O1,--hash-style=gnu -o libcdio++.la -rpath /usr/lib64 cdio.lo devices.lo  -lm
In file included from iso9660.cpp:26:
../../include/cdio++/iso9660.hpp: In copy constructor &apos;ISO9660::Stat::Stat(const ISO9660::Stat&amp;)&apos;:
../../include/cdio++/iso9660.hpp:129: error: &apos;free&apos; was not declared in this scope
../../include/cdio++/iso9660.hpp:132: error: &apos;calloc&apos; was not declared in this scope
../../include/cdio++/iso9660.hpp: In member function &apos;const ISO9660::Stat&amp; ISO9660::Stat::operator=(const ISO9660::Stat&amp;)&apos;:
../../include/cdio++/iso9660.hpp:138: error: &apos;free&apos; was not declared in this scope
../../include/cdio++/iso9660.hpp: In destructor &apos;ISO9660::Stat::~Stat()&apos;:
../../include/cdio++/iso9660.hpp:144: error: &apos;free&apos; was not declared in this scope
make[3]: *** [iso9660.lo] Error 1
make[3]: *** Waiting for unfinished jobs....


Just missing an include in iso9660.hpp</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-01-05 15:35:27 0000</bug_when>
            <thetext>Created an attachment (id=140187)
libcdio-0.79-gcc-4.3-include.patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-01-05 15:44:50 0000</bug_when>
            <thetext>Will fix in a bit, I&apos;m from the laptop now. Can you take a look at the current CVS? So at least when I&apos;ll release 0.80 it will work out of the box :P</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-01-19 03:33:06 0000</bug_when>
            <thetext>CVS works fine.  actually it looks like cstdlib is included twice now ;).

http://cvs.savannah.gnu.org/viewvc/libcdio/include/cdio%2B%2B/iso9660.hpp?root=libcdio&amp;r1=1.10&amp;r2=1.11</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>milan@cmm.ki.si</who>
            <bug_when>2008-01-25 08:54:43 0000</bug_when>
            <thetext>*** Bug 207347 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@sansinteret.info</who>
            <bug_when>2008-04-19 14:21:43 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Created an attachment (id=140187) [edit]
&gt; libcdio-0.79-gcc-4.3-include.patch
&gt; 

It works nice for me on ~amd64.
Thank you.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-04-20 22:35:40 0000</bug_when>
            <thetext>Applied.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>140187</attachid>
            <date>2008-01-05 15:35 0000</date>
            <desc>libcdio-0.79-gcc-4.3-include.patch</desc>
            <filename>libcdio-0.79-gcc-4.3-include.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTmF1ciBsaWJjZGlvLTAuNzktb3JpZy9pbmNsdWRlL2NkaW8rKy9pc285NjYwLmhwcCBs
aWJjZGlvLTAuNzkvaW5jbHVkZS9jZGlvKysvaXNvOTY2MC5ocHAKLS0tIGxpYmNkaW8tMC43OS1v
cmlnL2luY2x1ZGUvY2RpbysrL2lzbzk2NjAuaHBwCTIwMDYtMDMtMDcgMTU6MDQ6MDEuMDAwMDAw
MDAwIC0wNjAwCisrKyBsaWJjZGlvLTAuNzkvaW5jbHVkZS9jZGlvKysvaXNvOTY2MC5ocHAJMjAw
OC0wMS0wNSAwOTozMjowMi4wMDAwMDAwMDAgLTA2MDAKQEAgLTI5LDYgKzI5LDcgQEAKIAogI2lu
Y2x1ZGUgPGNkaW8vaXNvOTY2MC5oPgogI2luY2x1ZGUgPGNkaW8rKy9jZGlvLmhwcD4KKyNpbmNs
dWRlIDxzdGRsaWIuaD4KICNpbmNsdWRlIDxzdHJpbmcuaD4KICNpbmNsdWRlIDx2ZWN0b3I+CQkv
LyB2ZWN0b3IgY2xhc3MgbGlicmFyeQogdXNpbmcgbmFtZXNwYWNlIHN0ZDsK
</data>        

          </attachment>
    </bug>

</bugzilla>