File: 04_gcc43_build_fix.diff

package info (click to toggle)
aspell 0.60.8.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,304 kB
  • sloc: cpp: 24,374; sh: 12,327; perl: 1,921; ansic: 1,661; makefile: 835; sed: 16
file content (25 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## 04_gcc43_build_fix.diff by Brian Nelson <pyro@debian.org>
##
## Fix for GCC 4.3 builds as reported in #452310
--- a/common/string_map.hpp
+++ b/common/string_map.hpp
@@ -11,7 +11,7 @@
 #include "parm_string.hpp"
 #include "posib_err.hpp"
 #include "string_pair.hpp"
-#include "hash.hpp"
+#include "hash-t.hpp"
 #include "objstack.hpp"
 
 
--- a/modules/speller/default/affix.hpp
+++ b/modules/speller/default/affix.hpp
@@ -109,7 +109,7 @@ namespace aspeller {
     }
     WordAff * expand_suffix(ParmString word, const unsigned char * aff,
                             ObjStack &, int limit = INT_MAX,
-                            unsigned char * new_aff = 0, WordAff * * * l = 0,
+                            unsigned char * new_aff_2 = 0, WordAff * * * l = 0,
                             ParmString orig_word = 0) const;
     
   private: