summary refs log tree commit diff
path: root/pkgs/development/libraries/aspell/clang.patch
diff options
context:
space:
mode:
authorJoel Taylor <me@joelt.io>2014-08-17 13:17:13 -0700
committerJoel Taylor <me@joelt.io>2014-09-09 13:54:24 -0700
commit3e8344d334d42824ac3061a919ac15b19a1bf21d (patch)
tree5ecad4218357caec8ddc27d5df150a5734db0281 /pkgs/development/libraries/aspell/clang.patch
parente3fd4499ef296f4769cf4e9e91f1ccfd16325b0f (diff)
downloadnixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar
nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.gz
nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.bz2
nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.lz
nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.xz
nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.zst
nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.zip
suitable clang stdenv
Diffstat (limited to 'pkgs/development/libraries/aspell/clang.patch')
-rw-r--r--pkgs/development/libraries/aspell/clang.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/aspell/clang.patch b/pkgs/development/libraries/aspell/clang.patch
new file mode 100644
index 00000000000..c4cfa426588
--- /dev/null
+++ b/pkgs/development/libraries/aspell/clang.patch
@@ -0,0 +1,18 @@
+--- interfaces/cc/aspell.h	2013-10-13 20:29:33.000000000 +0200
++++ interfaces/cc/aspell.h	2013-10-13 20:30:01.000000000 +0200
+@@ -237,6 +237,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,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 *******************************/