diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-11 22:56:50 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-11 22:56:50 +0000 |
commit | f14ccfe17b9bcaf5486e9e94f5693983dfcf07e2 (patch) | |
tree | 9e01f4e7d36a3d81db47369b6293e3bd40b2e1e5 /textproc/aspell | |
parent | 6b166fc7900d417f63157e63018cefc9b8401489 (diff) |
Fix build with clang 3.4
Submitted by: dim
Notes
Notes:
svn path=/head/; revision=343830
Diffstat (limited to 'textproc/aspell')
-rw-r--r-- | textproc/aspell/files/patch-interfaces__cc__aspell.h | 20 | ||||
-rw-r--r-- | textproc/aspell/files/patch-prog__aspell.cpp | 18 | ||||
-rw-r--r-- | textproc/aspell/files/patch-prog__checker_string.hpp | 10 |
3 files changed, 48 insertions, 0 deletions
diff --git a/textproc/aspell/files/patch-interfaces__cc__aspell.h b/textproc/aspell/files/patch-interfaces__cc__aspell.h new file mode 100644 index 000000000000..08f34e68a879 --- /dev/null +++ b/textproc/aspell/files/patch-interfaces__cc__aspell.h @@ -0,0 +1,20 @@ +--- interfaces/cc/aspell.h.orig 2011-07-02 23:53:27.000000000 +0200 ++++ interfaces/cc/aspell.h 2014-02-11 22:40:16.000000000 +0100 +@@ -236,7 +236,7 @@ + + /******************************** errors ********************************/ + +- ++#ifndef ASPELL_ERRORS__HPP + extern const struct AspellErrorInfo * const aerror_other; + extern const struct AspellErrorInfo * const aerror_operation_not_supported; + extern const struct AspellErrorInfo * const aerror_cant_copy; +@@ -322,7 +322,7 @@ + extern const struct AspellErrorInfo * const aerror_bad_magic; + extern const struct AspellErrorInfo * const aerror_expression; + extern const struct AspellErrorInfo * const aerror_invalid_expression; +- ++#endif + + /******************************* speller *******************************/ + diff --git a/textproc/aspell/files/patch-prog__aspell.cpp b/textproc/aspell/files/patch-prog__aspell.cpp new file mode 100644 index 000000000000..0425babf35dc --- /dev/null +++ b/textproc/aspell/files/patch-prog__aspell.cpp @@ -0,0 +1,18 @@ +--- prog/aspell.cpp.orig 2011-07-04 11:13:58.000000000 +0200 ++++ prog/aspell.cpp 2014-02-11 22:42:04.000000000 +0100 +@@ -25,6 +25,7 @@ + # include <langinfo.h> + #endif + ++#include "errors.hpp" + #include "aspell.h" + + #ifdef USE_FILE_INO +@@ -40,7 +41,6 @@ + #include "convert.hpp" + #include "document_checker.hpp" + #include "enumeration.hpp" +-#include "errors.hpp" + #include "file_util.hpp" + #include "fstream.hpp" + #include "info.hpp" diff --git a/textproc/aspell/files/patch-prog__checker_string.hpp b/textproc/aspell/files/patch-prog__checker_string.hpp new file mode 100644 index 000000000000..b202f5f26d76 --- /dev/null +++ b/textproc/aspell/files/patch-prog__checker_string.hpp @@ -0,0 +1,10 @@ +--- prog/hecker_string.hpp.orig 2011-07-02 23:09:09.000000000 +0200 ++++ prog/checker_string.hpp 2014-02-11 22:42:24.000000000 +0100 +@@ -6,6 +6,7 @@ + + #include <stdio.h> + ++#include "errors.hpp" + #include "aspell.h" + + #include "vector.hpp" |