[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#232124: marked as done (sound-recorder: Compile fixes for g++ 3.3)



Your message dated Wed, 02 Nov 2005 13:42:59 +0100
with message-id <87ek5zz0do.fsf@diziet.irb.hr>
and subject line Bug#232124: fixed in sound-recorder 0.06-6.1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Feb 2004 01:25:02 +0000
>From jtv@xs4all.nl Tue Feb 10 17:25:02 2004
Return-path: <jtv@xs4all.nl>
Received: from roura.ac.upc.es [147.83.33.10] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Aqj7e-0006oa-00; Tue, 10 Feb 2004 17:25:02 -0800
Received: from localhost (dync-34-225.ac.upc.es [147.83.34.225])
	by roura.ac.upc.es (8.12.8/8.12.8) with ESMTP id i1B1NwAX015874;
	Wed, 11 Feb 2004 02:23:58 +0100 (MET)
Received: from jtv by localhost with local (Exim 3.36 #1 (Debian))
	id 1Aqj6W-0007v6-00; Wed, 11 Feb 2004 02:23:52 +0100
Content-Type: multipart/mixed; boundary="===============1158832234=="
MIME-Version: 1.0
From: "Jeroen T. Vermeulen" <jtv@xs4all.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: sound-recorder: Compile fixes for g++ 3.3
X-Mailer: reportbug 2.43
Date: Wed, 11 Feb 2004 02:23:52 +0100
Message-Id: <E1Aqj6W-0007v6-00@localhost>
Sender: "Jeroen T. Vermeulen" <jtv@bulletproof>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_10 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_02_10
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1158832234==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: sound-recorder
Version: 0.06
Severity: serious
Tags: patch
Justification: no longer builds from source

Here's a patch that gets sound-recorder to compile on g++ 3.3.  I've had
to make one change though, which was to remove the "nocreate" flag from
the fstream that's being opened in rcfile.cc.  This is annoying, but I
get the impression that its effects won't be too serious.  Perhaps
there's a workaround, but I have no idea what it would be.

Otherwise, I'm _guessing_ (not that I've tested this) that it'll work as
before.


diff -r sound-recorder-0.06/src/cd-player.cc sound-recorder-0.06-patch/src/cd-player.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/cd-player.h sound-recorder-0.06-patch/src/cd-player.h
13,16c13,16
< #include <stdio.h>
< #include <iostream.h>
< #include <string.h>
< #include <errno.h>
---
> #include <cstdio>
> #include <iostream>
> #include <cstring>
> #include <cerrno>
34c34
< 			friend CDplayer;
---
> 			friend class CDplayer;
diff -r sound-recorder-0.06/src/codec.h sound-recorder-0.06-patch/src/codec.h
8,9c8,9
< #include <stdio.h>
< #include <iostream.h>
---
> #include <cstdio>
> #include <iostream>
diff -r sound-recorder-0.06/src/codec_imaadpcm.cc sound-recorder-0.06-patch/src/codec_imaadpcm.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/codec_imaadpcm.h sound-recorder-0.06-patch/src/codec_imaadpcm.h
9c9
< #include <iostream.h>
---
> #include <iostream>
11c11
< #include <string.h>
---
> #include <cstring>
diff -r sound-recorder-0.06/src/codec_msadpcm.cc sound-recorder-0.06-patch/src/codec_msadpcm.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/codec_msadpcm.h sound-recorder-0.06-patch/src/codec_msadpcm.h
9c9
< #include <iostream.h>
---
> #include <iostream>
11c11
< #include <string.h>
---
> #include <cstring>
diff -r sound-recorder-0.06/src/codec_pcm.cc sound-recorder-0.06-patch/src/codec_pcm.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/codec_pcm.h sound-recorder-0.06-patch/src/codec_pcm.h
9c9
< #include <iostream.h>
---
> #include <iostream>
diff -r sound-recorder-0.06/src/dsp.cc sound-recorder-0.06-patch/src/dsp.cc
6a7
> using namespace std;
diff -r sound-recorder-0.06/src/dsp.h sound-recorder-0.06-patch/src/dsp.h
8,9c8,9
< #include <iostream.h>
< #include <stdio.h>
---
> #include <iostream>
> #include <cstdio>
diff -r sound-recorder-0.06/src/dspsetting.h sound-recorder-0.06-patch/src/dspsetting.h
8c8
< #include <iostream.h>
---
> #include <iostream>
diff -r sound-recorder-0.06/src/mixer.cc sound-recorder-0.06-patch/src/mixer.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/mixer.h sound-recorder-0.06-patch/src/mixer.h
11c11
< #include <string.h>
---
> #include <cstring>
25,26c25,26
< 		const string &	readCurrentSetting();
< 		void		storeCurrentSetting(const string & setting);
---
> 		const std::string &	readCurrentSetting();
> 		void		storeCurrentSetting(const std::string & setting);
37c37
< 		string		mixerDeviceName;
---
> 		std::string		mixerDeviceName;
diff -r sound-recorder-0.06/src/play-sample.cc sound-recorder-0.06-patch/src/play-sample.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/rcfile.cc sound-recorder-0.06-patch/src/rcfile.cc
6a7,8
> using namespace std;
> 
29c31,32
< 		file = new fstream(fileName, ios::in | ios::out | ios::nocreate | ios::skipws);
---
> 		file = new fstream(fileName, ios::in | ios::out /*| ios::nocreate*/);
> 		*file << skipws;
39c42,43
< 					file->open(fileName, ios::in | ios::out | ios::trunc | ios::skipws);
---
> 					file->open(fileName, ios::in | ios::out | ios::trunc);
> 					*file << skipws;
128c132,133
< 		file->open(fName, ios::in | ios::out | ios::trunc | ios::skipws);
---
> 		file->open(fName, ios::in | ios::out | ios::trunc);
> 		*file << skipws;
diff -r sound-recorder-0.06/src/rcfile.h sound-recorder-0.06-patch/src/rcfile.h
9,13c9,12
< #include <malloc.h>
< #include <iostream.h>
< #include <iomanip.h>
< #include <fstream.h>
< #include <string.h>
---
> #include <iostream>
> #include <iomanip>
> #include <fstream>
> #include <cstring>
31c30
< 		fstream		* file;
---
> 		std::fstream	* file;
diff -r sound-recorder-0.06/src/record.cc sound-recorder-0.06-patch/src/record.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/soundrec.cc sound-recorder-0.06-patch/src/soundrec.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/soundrec.h sound-recorder-0.06-patch/src/soundrec.h
10,11c10,11
< #include <string.h>
< #include <iostream.h>
---
> #include <cstring>
> #include <iostream>
diff -r sound-recorder-0.06/src/waveriff.cc sound-recorder-0.06-patch/src/waveriff.cc
6a7
> using namespace std;
8c9,10
< TChunk::TChunk(const u_int8_t Id[4] = 0, const u_int32_t size = 0)
---
> 
> TChunk::TChunk(const u_int8_t Id[4], const u_int32_t size)
diff -r sound-recorder-0.06/src/waveriff.h sound-recorder-0.06-patch/src/waveriff.h
10c10
< #include <iostream.h>
---
> #include <iostream>
15c15
< #include <stdio.h>
---
> #include <cstdio>
28c28
< 	friend			TWave;
---
> 	friend			class TWave;
49c49
< typedef list<TChunk> tChunkList;
---
> typedef std::list<TChunk> tChunkList;


-- System Information:
Debian Release: testing/unstable
Architecture: powerpc (ppc)
Kernel: Linux 2.6.2-ben1-jtv0
Locale: LANG=en_IN, LC_CTYPE=en_IN


--===============1158832234==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="sound-recorder.patch"

diff -r sound-recorder-0.06/src/cd-player.cc sound-recorder-0.06-patch/src/cd-player.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/cd-player.h sound-recorder-0.06-patch/src/cd-player.h
13,16c13,16
< #include <stdio.h>
< #include <iostream.h>
< #include <string.h>
< #include <errno.h>
---
> #include <cstdio>
> #include <iostream>
> #include <cstring>
> #include <cerrno>
34c34
< 			friend CDplayer;
---
> 			friend class CDplayer;
diff -r sound-recorder-0.06/src/codec.h sound-recorder-0.06-patch/src/codec.h
8,9c8,9
< #include <stdio.h>
< #include <iostream.h>
---
> #include <cstdio>
> #include <iostream>
diff -r sound-recorder-0.06/src/codec_imaadpcm.cc sound-recorder-0.06-patch/src/codec_imaadpcm.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/codec_imaadpcm.h sound-recorder-0.06-patch/src/codec_imaadpcm.h
9c9
< #include <iostream.h>
---
> #include <iostream>
11c11
< #include <string.h>
---
> #include <cstring>
diff -r sound-recorder-0.06/src/codec_msadpcm.cc sound-recorder-0.06-patch/src/codec_msadpcm.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/codec_msadpcm.h sound-recorder-0.06-patch/src/codec_msadpcm.h
9c9
< #include <iostream.h>
---
> #include <iostream>
11c11
< #include <string.h>
---
> #include <cstring>
diff -r sound-recorder-0.06/src/codec_pcm.cc sound-recorder-0.06-patch/src/codec_pcm.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/codec_pcm.h sound-recorder-0.06-patch/src/codec_pcm.h
9c9
< #include <iostream.h>
---
> #include <iostream>
diff -r sound-recorder-0.06/src/dsp.cc sound-recorder-0.06-patch/src/dsp.cc
6a7
> using namespace std;
diff -r sound-recorder-0.06/src/dsp.h sound-recorder-0.06-patch/src/dsp.h
8,9c8,9
< #include <iostream.h>
< #include <stdio.h>
---
> #include <iostream>
> #include <cstdio>
diff -r sound-recorder-0.06/src/dspsetting.h sound-recorder-0.06-patch/src/dspsetting.h
8c8
< #include <iostream.h>
---
> #include <iostream>
diff -r sound-recorder-0.06/src/mixer.cc sound-recorder-0.06-patch/src/mixer.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/mixer.h sound-recorder-0.06-patch/src/mixer.h
11c11
< #include <string.h>
---
> #include <cstring>
25,26c25,26
< 		const string &	readCurrentSetting();
< 		void		storeCurrentSetting(const string & setting);
---
> 		const std::string &	readCurrentSetting();
> 		void		storeCurrentSetting(const std::string & setting);
37c37
< 		string		mixerDeviceName;
---
> 		std::string		mixerDeviceName;
diff -r sound-recorder-0.06/src/play-sample.cc sound-recorder-0.06-patch/src/play-sample.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/rcfile.cc sound-recorder-0.06-patch/src/rcfile.cc
6a7,8
> using namespace std;
> 
29c31,32
< 		file = new fstream(fileName, ios::in | ios::out | ios::nocreate | ios::skipws);
---
> 		file = new fstream(fileName, ios::in | ios::out /*| ios::nocreate*/);
> 		*file << skipws;
39c42,43
< 					file->open(fileName, ios::in | ios::out | ios::trunc | ios::skipws);
---
> 					file->open(fileName, ios::in | ios::out | ios::trunc);
> 					*file << skipws;
128c132,133
< 		file->open(fName, ios::in | ios::out | ios::trunc | ios::skipws);
---
> 		file->open(fName, ios::in | ios::out | ios::trunc);
> 		*file << skipws;
diff -r sound-recorder-0.06/src/rcfile.h sound-recorder-0.06-patch/src/rcfile.h
9,13c9,12
< #include <malloc.h>
< #include <iostream.h>
< #include <iomanip.h>
< #include <fstream.h>
< #include <string.h>
---
> #include <iostream>
> #include <iomanip>
> #include <fstream>
> #include <cstring>
31c30
< 		fstream		* file;
---
> 		std::fstream	* file;
diff -r sound-recorder-0.06/src/record.cc sound-recorder-0.06-patch/src/record.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/soundrec.cc sound-recorder-0.06-patch/src/soundrec.cc
6a7,8
> using namespace std;
> 
diff -r sound-recorder-0.06/src/soundrec.h sound-recorder-0.06-patch/src/soundrec.h
10,11c10,11
< #include <string.h>
< #include <iostream.h>
---
> #include <cstring>
> #include <iostream>
diff -r sound-recorder-0.06/src/waveriff.cc sound-recorder-0.06-patch/src/waveriff.cc
6a7
> using namespace std;
8c9,10
< TChunk::TChunk(const u_int8_t Id[4] = 0, const u_int32_t size = 0)
---
> 
> TChunk::TChunk(const u_int8_t Id[4], const u_int32_t size)
diff -r sound-recorder-0.06/src/waveriff.h sound-recorder-0.06-patch/src/waveriff.h
10c10
< #include <iostream.h>
---
> #include <iostream>
15c15
< #include <stdio.h>
---
> #include <cstdio>
28c28
< 	friend			TWave;
---
> 	friend			class TWave;
49c49
< typedef list<TChunk> tChunkList;
---
> typedef std::list<TChunk> tChunkList;

--===============1158832234==--

---------------------------------------
Received: (at 232124-done) by bugs.debian.org; 2 Nov 2005 12:43:13 +0000
>From mvela@irb.hr Wed Nov 02 04:43:13 2005
Return-path: <mvela@irb.hr>
Received: from mail.irb.hr [161.53.22.8] (UNKNOWN)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EXHxR-0002ka-00; Wed, 02 Nov 2005 04:43:13 -0800
Received: from diziet.irb.hr (diziet.irb.hr [161.53.22.31])
	by mail.irb.hr (8.13.3/8.13.3/Debian-6) with ESMTP id jA2Cgt1P020909
	for <232124-done@bugs.debian.org>; Wed, 2 Nov 2005 13:42:55 +0100
Received: from diziet.irb.hr (localhost [127.0.0.1])
	by diziet.irb.hr (8.13.5/8.13.5/Debian-3) with ESMTP id jA2CgxZi023644
	for <232124-done@bugs.debian.org>; Wed, 2 Nov 2005 13:42:59 +0100
Received: (from mvela@localhost)
	by diziet.irb.hr (8.13.5/8.13.5/Submit) id jA2Cgxjo023642;
	Wed, 2 Nov 2005 13:42:59 +0100
From: Matej Vela <vela@debian.org>
To: 232124-done@bugs.debian.org
Subject: Bug#232124: fixed in sound-recorder 0.06-6.1
Date: Wed, 02 Nov 2005 13:42:59 +0100
Message-ID: <87ek5zz0do.fsf@diziet.irb.hr>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.51 on 161.53.22.8
Delivered-To: 232124-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: sound-recorder
Source-Version: 0.06-6.1

Now that sound-recorder is orphaned, NMU-fixed bugs can be closed.
The relevant changelog entry is:

  sound-recorder (0.06-6.1) unstable; urgency=low

    * NMU
    * Fix source to compile under gcc-3.3 (Closes: #232124)

   -- John V. Belmonte <jbelmonte@debian.org>  Thu, 11 Mar 2004 00:58:35 -0500



Reply to: