]> git.pld-linux.org Git - packages/beast.git/blame - beast-gcc34.patch
- fix building with gcc-3.4
[packages/beast.git] / beast-gcc34.patch
CommitLineData
4db08c59 1diff -urN aa/beast-0.6.1/acbeast.m4 beast-0.6.1/acbeast.m4
2--- aa/beast-0.6.1/acbeast.m4 2003-09-08 02:04:33.000000000 +0200
3+++ beast-0.6.1/acbeast.m4 2004-07-03 14:38:10.933404448 +0200
4@@ -289,7 +289,6 @@
5
6 dnl Warnings.
7 MC_EVAR_ADD(CXXFLAGS, -Wall, -Wall)
8- MC_EVAR_ADD(CXXFLAGS, -Wmissing-prototypes, -Wmissing-prototypes)
9 MC_EVAR_ADD(CXXFLAGS, -Wno-cast-qual, -Wno-cast-qual)
10 dnl MC_EVAR_ADD(CXXFLAGS, -Winline, -Winline)
11
12diff -urN aa/beast-0.6.1/bse/bsecxxutils.h beast-0.6.1/bse/bsecxxutils.h
13--- aa/beast-0.6.1/bse/bsecxxutils.h 2004-01-27 16:38:45.000000000 +0100
14+++ beast-0.6.1/bse/bsecxxutils.h 2004-07-03 14:36:27.313157120 +0200
15@@ -48,8 +48,8 @@
16
17 /* --- template errors --- */
18 namespace TEMPLATE_ERROR {
19-template<typename What, typename Reason> void invalid_type () { TEMPLATE_ERROR::abort; }
20-template<typename TYPE> void invalid_argument_type () { TEMPLATE_ERROR::abort; }
21+template<typename What, typename Reason> void invalid_type () { abort; }
22+template<typename TYPE> void invalid_argument_type () { abort; }
23 }
24
25 /* --- generally useful templates --- */
26diff -urN aa/beast-0.6.1/sfi/sfidl-parser.h beast-0.6.1/sfi/sfidl-parser.h
27--- aa/beast-0.6.1/sfi/sfidl-parser.h 2004-02-27 06:27:05.000000000 +0100
28+++ beast-0.6.1/sfi/sfidl-parser.h 2004-07-03 14:31:31.414140608 +0200
29@@ -36,7 +36,7 @@
30 public:
31 const Value& get(const Key& k) const {
32 typename std::map<Key,Value>::const_iterator i = find(k);
33- if (i != end())
34+ if (i != std::map<Key,Value>::end())
35 return i->second;
36 else
37 return default_value;
This page took 0.064505 seconds and 4 git commands to generate.