<?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>115702</bug_id>
          
          <creation_ts>2005-12-15 13:58 0000</creation_ts>
          <short_desc>app-cdr/cdrdao-1.2.1 GCC 4.1 fix for ProgressDialog.h</short_desc>
          <delta_ts>2005-12-26 10:17:44 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>2005.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://cdrdao.sourceforge.net/</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>af1n@o2.pl</reporter>
          <assigned_to>media-optical@gentoo.org</assigned_to>
          <cc>halcy0n@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>af1n@o2.pl</who>
            <bug_when>2005-12-15 13:58:51 0000</bug_when>
            <thetext>GCC 4.1,amd64 emerge =cdrdao-1.2.1 dies here:
ProgressDialog.h:65: error: extra qualification &apos;ProgressDialog::&apos; on member &apos;time&apos;

A tivial fix IMHO is:

diff -uw cdrdao-1.2.1.orig/xdao/ProgressDialog.h cdrdao-1.2.1/xdao/ProgressDialog.h
--- cdrdao-1.2.1.orig/xdao/ProgressDialog.h     2005-05-01 11:17:17.000000000 +0200
+++ cdrdao-1.2.1/xdao/ProgressDialog.h  2005-12-15 22:32:25.860011728 +0100
@@ -35,6 +35,7 @@
   ProgressDialog(ProgressDialogPool *father);
   ~ProgressDialog();

+  bool time();
   bool on_delete_event(GdkEventAny*);

 private:
@@ -62,7 +63,6 @@
   bool leadTimeFilled_;

   struct timeval time_;
-  bool ProgressDialog::time();

   Gtk::Button *cancelButton_;
   Gtk::Button *closeButton_;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2005-12-16 23:49:28 0000</bug_when>
            <thetext>Created an attachment (id=74914)
gcc41 fix

Simple patch yes, but you changed the meaning of the code by making time() public.  Upstream won&apos;t accept a patch that does that :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2005-12-26 10:17:44 0000</bug_when>
            <thetext>patch added. Thanks both</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>74914</attachid>
            <date>2005-12-16 23:49 0000</date>
            <desc>gcc41 fix</desc>
            <filename>cdrdao-1.2.1-gcc41.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXIgY2RyZGFvLTEuMi4xLW9yaWcveGRhby9Qcm9ncmVzc0RpYWxvZy5oIGNkcmRhby0x
LjIuMS94ZGFvL1Byb2dyZXNzRGlhbG9nLmgKLS0tIGNkcmRhby0xLjIuMS1vcmlnL3hkYW8vUHJv
Z3Jlc3NEaWFsb2cuaAkyMDA1LTEyLTE3IDAyOjQwOjUxLjAwMDAwMDAwMCAtMDUwMAorKysgY2Ry
ZGFvLTEuMi4xL3hkYW8vUHJvZ3Jlc3NEaWFsb2cuaAkyMDA1LTEyLTE3IDAyOjQzOjU0LjAwMDAw
MDAwMCAtMDUwMApAQCAtNjIsNyArNjIsNyBAQAogICBib29sIGxlYWRUaW1lRmlsbGVkXzsKIAog
ICBzdHJ1Y3QgdGltZXZhbCB0aW1lXzsKLSAgYm9vbCBQcm9ncmVzc0RpYWxvZzo6dGltZSgpOwor
ICBib29sIHRpbWUoKTsKIAogICBHdGs6OkJ1dHRvbiAqY2FuY2VsQnV0dG9uXzsKICAgR3RrOjpC
dXR0b24gKmNsb3NlQnV0dG9uXzsKCg==
</data>        

          </attachment>
    </bug>

</bugzilla>