pkgsrc/textproc/aspell/patches/patch-prog_aspell.cpp
joerg 32708b3c6c Clang now validates that two declarations that end up mapped to the same
name due to extern "C" are consistent. Work around this by hiding the
parts of <aspell.h> as necessary.
2013-08-17 11:19:03 +00:00

20 lines
467 B
C++

$NetBSD: patch-prog_aspell.cpp,v 1.1 2013/08/17 11:19:03 joerg Exp $
--- prog/aspell.cpp.orig 2013-08-16 12:16:40.000000000 +0000
+++ 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"