]> git.pld-linux.org Git - packages/cdrdao.git/blob - cdrdao-gcc4.patch
move BR: GConf2-devel to gnome bcond
[packages/cdrdao.git] / cdrdao-gcc4.patch
1 --- cdrdao-1.2.1/trackdb/CueParser.cc.orig      2005-09-24 20:41:49.000000000 +0200
2 +++ cdrdao-1.2.1/trackdb/CueParser.cc   2005-11-26 02:35:15.000000000 +0100
3 @@ -24,6 +24,8 @@
4  #include "Cue2Toc.h"
5  #include "Toc.h"
6  
7 +class Toc;
8 +
9  extern Toc *parseToc(const char* , const char *);
10  
11  Toc *parseCue(FILE *fp, const char *filename)
12 diff -Nur cdrdao-1.2.0.org/trackdb/FormatConverter.h cdrdao-1.2.0/trackdb/FormatConverter.h
13 --- cdrdao-1.2.0.org/trackdb/FormatConverter.h  2005-04-22 04:01:46.000000000 +0200
14 +++ cdrdao-1.2.0/trackdb/FormatConverter.h      2005-09-17 15:45:27.509792984 +0200
15 @@ -27,6 +27,8 @@
16  #include "TrackData.h"
17  #include "Toc.h"
18  
19 +class Toc;
20 +
21  // Quick abstract class declarations. Format converters should derive
22  // their own FormatSupport and FormatSupportManager.
23  
24 #!/bin/sh /usr/share/dpatch/dpatch-run
25 ## 09-gcc-3.4.dpatch by Matthias Klose <doko@debian.org>
26 ##
27 ## DP: Fix build failures with g++-4.3 (Closes: #455309).
28
29 @DPATCH@
30
31 diff -Naurp cdrdao-1.2.2.orig/trackdb/FormatMp3.cc cdrdao-1.2.2/trackdb/FormatMp3.cc
32 --- cdrdao-1.2.2.orig/trackdb/FormatMp3.cc      2005-09-24 20:28:43.000000000 +0000
33 +++ cdrdao-1.2.2/trackdb/FormatMp3.cc           2008-03-07 11.14.07.000000000 +0000
34 @@ -25,6 +25,7 @@
35  #include <stdlib.h>
36  #include <unistd.h>
37  #include <fcntl.h>
38 +#include <cstring> 
39  #include <sys/types.h>
40  #include <sys/stat.h>
41  #include <sys/mman.h>
42 diff -Naurp cdrdao-1.2.2.orig/xdao/AudioCDProject.cc cdrdao-1.2.2/xdao/AudioCDProject.cc
43 --- cdrdao-1.2.2.orig/xdao/AudioCDProject.cc    2006-09-18 10:42:26.000000000 +0000
44 +++ cdrdao-1.2.2/xdao/AudioCDProject.cc 2008-03-07 11:15:26.000000000 +0000
45 @@ -18,6 +18,7 @@
46   */
47  
48  #include <assert.h>
49 +#include <cstring>
50  #include <gtkmm.h>
51  #include <libgnome/gnome-i18n.h>
52  
53 --- cdrdao-1.2.3/dao/ScsiIf-linux.cc.orig       2009-09-28 12:12:03.000000000 +0200
54 +++ cdrdao-1.2.3/dao/ScsiIf-linux.cc    2010-06-03 17:47:13.502076082 +0200
55 @@ -26,6 +26,8 @@
56  #include <string.h>
57  #include <assert.h>
58  #include <sys/ioctl.h>
59 +#include <sys/types.h>
60 +#include <sys/stat.h>
61  #include <glob.h>
62  #include <asm/param.h>
63  #include <scsi/scsi.h>
This page took 0.076271 seconds and 3 git commands to generate.