diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/aspell/fix_cpp.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/aspell/fix_cpp.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/aspell/fix_cpp.patch b/var/spack/repos/builtin/packages/aspell/fix_cpp.patch new file mode 100644 index 0000000000..54ec257637 --- /dev/null +++ b/var/spack/repos/builtin/packages/aspell/fix_cpp.patch @@ -0,0 +1,20 @@ ++++ a/interfaces/cc/aspell.h +--- b/interfaces/cc/aspell.h +@@ -236,7 +236,7 @@ + + /******************************** errors ********************************/ + +- ++#ifndef __cplusplus + 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 *******************************/ + |