~ubuntu-branches/ubuntu/karmic/flac/karmic

« back to all changes in this revision

Viewing changes to debian/patches/08_gcc-4.3_fixes.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Marc 'HE' Brockschmidt
  • Date: 2008-03-16 18:02:56 UTC
  • mfrom: (1.1.5 upstream) (10 gutsy)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20080316180256-qhf3wk704rp165pm
* Non-maintainer upload.
* Fix gcc-4.3 FTBFS, patch by KiBi (Closes: #455304)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 08_gcc-4.3_fixes.dpatch by Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: No description.
 
6
 
 
7
--- a/examples/cpp/encode/file/main.cpp
 
8
+++ b/examples/cpp/encode/file/main.cpp
 
9
@@ -33,6 +33,8 @@
 
10
 #include "FLAC++/metadata.h"
 
11
 #include "FLAC++/encoder.h"
 
12
 
 
13
+#include <cstring>
 
14
+
 
15
 class OurEncoder: public FLAC::Encoder::File {
 
16
 public:
 
17
        OurEncoder(): FLAC::Encoder::File() { }