add patch to get aspell to build on OSX (#7919)
This commit is contained in:
parent
9dad069e89
commit
8afdaa5805
20
var/spack/repos/builtin/packages/aspell/darwin.patch
Normal file
20
var/spack/repos/builtin/packages/aspell/darwin.patch
Normal file
@ -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 *******************************/
|
||||||
|
|
@ -40,6 +40,8 @@ class Aspell(AutotoolsPackage):
|
|||||||
|
|
||||||
version('0.60.6.1', 'e66a9c9af6a60dc46134fdacf6ce97d7')
|
version('0.60.6.1', 'e66a9c9af6a60dc46134fdacf6ce97d7')
|
||||||
|
|
||||||
|
patch('darwin.patch', when='platform=darwin')
|
||||||
|
|
||||||
# The dictionaries install all their bits into their prefix.lib dir,
|
# The dictionaries install all their bits into their prefix.lib dir,
|
||||||
# we want to link them into aspell's dict-dir.
|
# we want to link them into aspell's dict-dir.
|
||||||
# These are identical to what's in spack/package.py except
|
# These are identical to what's in spack/package.py except
|
||||||
|
Loading…
Reference in New Issue
Block a user