<?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>199579</bug_id>
          
          <creation_ts>2007-11-18 19:09 0000</creation_ts>
          <short_desc>[gcc-4.3] fix missing include in media-sound/flac-1.2.1-r1</short_desc>
          <delta_ts>2008-11-05 18:31:54 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>sound@gentoo.org</assigned_to>
          <cc>christoph.gysin@fr33z3.org</cc>
    
    <cc>fauli@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2007-11-18 19:09:35 0000</bug_when>
            <thetext>GCC 4.3 cleans up the include dependencies of the C++ stdlib headers.  The result is some packages have missing includes.  This patch fixes one such error in flac-1.2.1-r1.

make[5]: Entering directory `/var/tmp/portage/media-libs/flac-1.2.1-r1/work/flac-1.2.1/examples/cpp/encode/file&apos;
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../..   -DFLaC__INLINE=__inline__ -DNDEBUG -I../../../.. -I./include -I../../../../include   -O2 -g -march=native -fomit-frame-pointer -pipe -c -o main.o main.cpp
main.cpp: In function &apos;int main(int, char**)&apos;:
main.cpp:75: error: &apos;memcmp&apos; was not declared in this scope
make[5]: *** [main.o] Error 1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2007-11-18 19:11:54 0000</bug_when>
            <thetext>Created an attachment (id=136308)
flac-1.2.1-gcc-4.3-includes.patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2007-11-18 19:14:24 0000</bug_when>
            <thetext>http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1834168&amp;group_id=13478&amp;atid=313478</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2007-11-18 19:32:03 0000</bug_when>
            <thetext>applid for 1.2.1-r2, thanks

it&apos;s currently masked but only for the time I add the checks for flac++</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>christoph.gysin@fr33z3.org</who>
            <bug_when>2008-09-14 18:59:12 0000</bug_when>
            <thetext>As the reporter mentiones &quot;This patch fixes ONE such error in flac-1.2.1-r1.&quot;.

There is another missing include in examples/cpp/decode/file/main.cpp, patch follows.

Please reopen.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>christoph.gysin@fr33z3.org</who>
            <bug_when>2008-09-14 19:00:29 0000</bug_when>
            <thetext>Created an attachment (id=165420)
the updated patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2008-11-05 18:07:18 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; As the reporter mentiones &quot;This patch fixes ONE such error in flac-1.2.1-r1.&quot;.
&gt; 
&gt; There is another missing include in examples/cpp/decode/file/main.cpp, patch
&gt; follows.
&gt; 
&gt; Please reopen.

 Sound team, please check.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>loki_val@gentoo.org</who>
            <bug_when>2008-11-05 18:31:54 0000</bug_when>
            <thetext>make[4]: Entering directory `/var/tmp/portage/media-libs/flac-1.2.1-r3/work/flac-1.2.1/examples/cpp/decode&apos;
Making all in file
make[5]: Entering directory `/var/tmp/portage/media-libs/flac-1.2.1-r3/work/flac-1.2.1/examples/cpp/decode/file&apos;
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../..   -DFLaC__INLINE=__inline__ -DNDEBUG -I../../../.. -I./include -I../../../../include   -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -c -o main.o main.cpp
main.cpp: In member function ‘virtual void OurDecoder::metadata_callback(const FLAC__StreamMetadata*)’:
main.cpp:181: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘FLAC__uint64’
/bin/sh ../../../../libtool --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb  -Wl,--as-needed -o example_cpp_decode_file main.o ../../../../src/libFLAC++/libFLAC++.la ../../../../src/libFLAC/libFLAC.la -L/usr/lib -logg -lm
libtool: link: x86_64-pc-linux-gnu-g++ -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -Wl,--as-needed -o .libs/example_cpp_decode_file main.o  ../../../../src/libFLAC++/.libs/libFLAC++.so -L/usr/lib /var/tmp/portage/media-libs/flac-1.2.1-r3/work/flac-1.2.1/src/libFLAC/.libs/libFLAC.so ../../../../src/libFLAC/.libs/libFLAC.so /usr/lib64/libogg.so -lm
make[5]: Leaving directory `/var/tmp/portage/media-libs/flac-1.2.1-r3/work/flac-1.2.1/examples/cpp/decode/file&apos;
make[5]: Entering directory `/var/tmp/portage/media-libs/flac-1.2.1-r3/work/flac-1.2.1/examples/cpp/decode&apos;
make[5]: Nothing to be done for `all-am&apos;.
make[5]: Leaving directory `/var/tmp/portage/media-libs/flac-1.2.1-r3/work/flac-1.2.1/examples/cpp/decode&apos;
make[4]: Leaving directory `/var/tmp/portage/media-libs/flac-1.2.1-r3/work/flac-1.2.1/examples/cpp/decode&apos;

IOW, fixed.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>136308</attachid>
            <date>2007-11-18 19:11 0000</date>
            <desc>flac-1.2.1-gcc-4.3-includes.patch</desc>
            <filename>flac-1.2.1-gcc-4.3-includes.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTmF1ciBmbGFjLTEuMi4xLW9yaWcvZXhhbXBsZXMvY3BwL2VuY29kZS9maWxlL21haW4u
Y3BwIGZsYWMtMS4yLjEvZXhhbXBsZXMvY3BwL2VuY29kZS9maWxlL21haW4uY3BwCi0tLSBmbGFj
LTEuMi4xLW9yaWcvZXhhbXBsZXMvY3BwL2VuY29kZS9maWxlL21haW4uY3BwCTIwMDctMDktMTMg
MDk6NTg6MDMuMDAwMDAwMDAwIC0wNjAwCisrKyBmbGFjLTEuMi4xL2V4YW1wbGVzL2NwcC9lbmNv
ZGUvZmlsZS9tYWluLmNwcAkyMDA3LTExLTE4IDEyOjU5OjQ1LjAwMDAwMDAwMCAtMDYwMApAQCAt
MzAsNiArMzAsNyBAQAogCiAjaW5jbHVkZSA8c3RkaW8uaD4KICNpbmNsdWRlIDxzdGRsaWIuaD4K
KyNpbmNsdWRlIDxjc3RyaW5nPgogI2luY2x1ZGUgIkZMQUMrKy9tZXRhZGF0YS5oIgogI2luY2x1
ZGUgIkZMQUMrKy9lbmNvZGVyLmgiCiAK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>165420</attachid>
            <date>2008-09-14 19:00 0000</date>
            <desc>the updated patch</desc>
            <filename>flac-1.2.1-gcc-4.3-includes.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGV4YW1wbGVzL2NwcC9lbmNvZGUvZmlsZS9tYWluLmNwcC5vcmlnCTIwMDctMDktMTMgMDk6
NTg6MDMuMDAwMDAwMDAwIC0wNjAwCisrKyBleGFtcGxlcy9jcHAvZW5jb2RlL2ZpbGUvbWFpbi5j
cHAJMjAwNy0xMS0xOCAxMjo1OTo0NS4wMDAwMDAwMDAgLTA2MDAKQEAgLTMwLDYgKzMwLDcgQEAK
IAogI2luY2x1ZGUgPHN0ZGlvLmg+CiAjaW5jbHVkZSA8c3RkbGliLmg+CisjaW5jbHVkZSA8Y3N0
cmluZz4KICNpbmNsdWRlICJGTEFDKysvbWV0YWRhdGEuaCIKICNpbmNsdWRlICJGTEFDKysvZW5j
b2Rlci5oIgogCi0tLSBleGFtcGxlcy9jcHAvZGVjb2RlL2ZpbGUvbWFpbi5jcHAub3JpZwkyMDA4
LTA5LTE0IDIwOjM3OjA1LjAwMDAwMDAwMCArMDIwMAorKysgZXhhbXBsZXMvY3BwL2RlY29kZS9m
aWxlL21haW4uY3BwCTIwMDgtMDktMTQgMjA6Mzc6MTkuMDAwMDAwMDAwICswMjAwCkBAIC0zMCw2
ICszMCw3IEBACiAKICNpbmNsdWRlIDxzdGRpby5oPgogI2luY2x1ZGUgPHN0ZGxpYi5oPgorI2lu
Y2x1ZGUgPGNzdHJpbmc+CiAjaW5jbHVkZSAiRkxBQysrL2RlY29kZXIuaCIKIAogc3RhdGljIEZM
QUNfX3VpbnQ2NCB0b3RhbF9zYW1wbGVzID0gMDsK
</data>        

          </attachment>
    </bug>

</bugzilla>