On Mon, Jun 12, 2006, Caleb Epstein wrote:

> I needed to add this to xemacs.patch to get XEmacs to compile on
> OpenPKG-CURRENT with Solaris 10:
>
> --- src/s/sol2.h.org    Mon Jun 12 18:18:48 2006
> +++ src/s/sol2.h        Mon Jun 12 18:19:09 2006
> @@ -11,7 +11,7 @@
> #endif
>
> /* Fix understandable GCC lossage on Solaris 2.6 */
> -#if defined(__GNUC__) && OS_RELEASE >= 506 && !defined(NOT_C_CODE)
> +#if defined(__GNUC__) && OS_RELEASE < 510 && !defined(NOT_C_CODE)
>
> /* GCC va_list munging is a little messed up */
> #define __GNUC_VA_LIST
>
> Not sure if this is the "right" fix, but it works here.

It fixes the build unter Solaris but we can be a little bit more precise
with the matching and check for "OS_RELEASE >= 506 && OS_RELEASE <
510". Now comitted to OpenPKG CURRENT together with some other Solaris
build-time fixes: http://cvs.openpkg.org/chngview?cn=28768
Thanks for the hint.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to