[oi-dev] aspell component
Alexander Pyhalov
alp at rsu.ru
Sat May 25 20:23:26 UTC 2013
Hello, all.
I've made preliminary port of aspell component for oi-hipster
repository. It is slightly modified version from ec-userland and is
accessible here:
https://github.com/pyhalov/oi-userland/tree/aspell/components/aspell .
However, there is a problem: https://www.illumos.org/issues/3787
To build aspell with GCC >= 4.6 you should modify your system headers.
The following lines should be changed (add _GNUG exceptions):
/usr/include/stdlib.h:43:#if __cplusplus >= 199711L && !defined(_GNUG__)
/usr/include/iso/stdlib_iso.h:62:#if __cplusplus >= 199711L &&
!defined(__GNUG__)
/usr/include/iso/stdlib_iso.h:76:#if !defined(_SIZE_T) || ( __cplusplus
>= 199711L && !defined(__GNUG__))
/usr/include/iso/stdlib_iso.h:131:#if __cplusplus >= 199711L &&
!defined(__GNUG__)
/usr/include/iso/stdlib_iso.h:151:#if __cplusplus >= 199711L &&
!defined(__GNUG__)
/usr/include/iso/stdlib_iso.h:168:#if __cplusplus >= 199711L &&
!defined(__GNUG__)
/usr/include/iso/stdlib_iso.h:208:#if __cplusplus >= 199711L &&
!defined(__GNUG__)
it is related to the fix of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773 introduced in GCC 4.6
In brief, earlier G++ reported __cplusplus to be 1. Now it is not always
true. This corrupted logic in
Solaris libraries headers. So, I don't know if this packet should be
merged in oi-hipster and what is the best way to resolve this.
--
System Administrator of Southern Federal University Computer Center
More information about the oi-dev
mailing list