diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/aspell/files/aspell-0.60.6.1-clang.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/aspell/files/aspell-0.60.6.1-clang.patch')
-rw-r--r-- | app-text/aspell/files/aspell-0.60.6.1-clang.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-text/aspell/files/aspell-0.60.6.1-clang.patch b/app-text/aspell/files/aspell-0.60.6.1-clang.patch new file mode 100644 index 000000000000..8d3e62dcdf0b --- /dev/null +++ b/app-text/aspell/files/aspell-0.60.6.1-clang.patch @@ -0,0 +1,47 @@ +From https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180565 +--- a/interfaces/cc/aspell.h ++++ b/interfaces/cc/aspell.h +@@ -237,6 +237,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,6 +323,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 *******************************/ +--- a/prog/aspell.cpp ++++ b/prog/aspell.cpp +@@ -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" +--- a/prog/checker_string.hpp ++++ b/prog/checker_string.hpp +@@ -6,6 +6,7 @@ + + #include <stdio.h> + ++#include "errors.hpp" + #include "aspell.h" + + #include "vector.hpp" |