PATCH 21.5, RECOMMEND 21.4
This patch fixes the build on recent intel-based Solaris 10
(SunOS 5.10 Generic_118855-36 i86pc i386 i86pc Solaris).
I'll apply on Friday if nobody objects.
src/ChangeLog addition:
2007-08-14 Marcus Crestani <crestani(a)xemacs.org>
* s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
sunos-xemacs-21.5 source patch:
Diff command: cvs -q diff -u
Files affected: src/s/sol2.h
===================================================================
RCS
Index: src/s/sol2.h
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/s/sol2.h,v
retrieving revision 1.12
diff -u -r1.12 sol2.h
--- src/s/sol2.h 18 Sep 2003 05:14:00 -0000 1.12
+++ src/s/sol2.h 14 Aug 2007 18:19:41 -0000
@@ -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 >= 506 && OS_RELEASE < 510
&& !defined(NOT_C_CODE)
/* GCC va_list munging is a little messed up */
#define __GNUC_VA_LIST
--
Marcus
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches