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.

--
Caleb Epstein
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [email protected]

Reply via email to