freebsd-ports/textproc/aspell/files/patch-interfaces__cc__aspell.h
Baptiste Daroussin f14ccfe17b Fix build with clang 3.4
Submitted by:	dim
2014-02-11 22:56:50 +00:00

20 lines
774 B
C

--- 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 *******************************/