You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/aspell/files/aspell-0.60.5-solaris.patch

28 lines
538 B

* grobian@gentoo.org: on Solaris 10 _XOPEN_SOURCE_EXTENDED may not be
defined when including wchar.h with g++
--- a/prog/check_funs.cpp
+++ b/prog/check_funs.cpp
@@ -18,10 +18,6 @@
#include "settings.h"
-#ifdef DEFINE_XOPEN_SOURCE_EXTENDED
-# define _XOPEN_SOURCE_EXTENDED 1
-#endif
-
#ifdef CURSES_NON_POSIX
#define CURSES_ONLY 1
#endif
@@ -35,6 +31,10 @@
#include "gettext.h"
+#ifdef DEFINE_XOPEN_SOURCE_EXTENDED
+# define _XOPEN_SOURCE_EXTENDED 1
+#endif
+
using namespace acommon;
StackPtr<CheckerString> state;