[xorg-commit-diffs] xc/config/cf sun.cf, 1.1.4.11, 1.1.4.12 Imake.tmpl, 1.1.4.8, 1.1.4.9

Alan Coopersmith xorg-commit at pdx.freedesktop.org
Sun Apr 18 04:47:08 EST 2004


Committed by: alanc

Update of /cvs/xorg/xc/config/cf
In directory pdx:/tmp/cvs-serv28826/config/cf

Modified Files:
      Tag: XORG-CURRENT
	sun.cf Imake.tmpl 
Log Message:
Bugzilla #495: LocalClientCred should use getpeerucred on Solaris 10


Index: sun.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/sun.cf,v
retrieving revision 1.1.4.11
retrieving revision 1.1.4.12
diff -u -d -r1.1.4.11 -r1.1.4.12
--- a/sun.cf	15 Apr 2004 10:13:10 -0000	1.1.4.11
+++ b/sun.cf	17 Apr 2004 18:47:05 -0000	1.1.4.12
@@ -297,6 +297,7 @@
 # endif
 # if OSMinorVersion > 9 /* Solaris 10 and later */
 #  define HasSetenv	YES
+#  define HasGetpeerucred YES
 /* Solaris 10 includes FreeType already.  It's also available in GNOME 2.0 for
  * Solaris 8 & 9, and in Solaris 9 4/03 and later, but there's no easy way to
  * detect that in imake, so users of those releases who want to use the 

Index: Imake.tmpl
===================================================================
RCS file: /cvs/xorg/xc/config/cf/Imake.tmpl,v
retrieving revision 1.1.4.8
retrieving revision 1.1.4.9
diff -u -d -r1.1.4.8 -r1.1.4.9
--- a/Imake.tmpl	15 Apr 2004 10:13:10 -0000	1.1.4.8
+++ b/Imake.tmpl	17 Apr 2004 18:47:05 -0000	1.1.4.9
@@ -465,6 +465,9 @@
 #ifndef HasGetpeereid
 #define HasGetpeereid		NO
 #endif
+#ifndef HasGetpeerucred
+#define HasGetpeerucred		NO
+#endif
 #ifndef NoStrstr
 #define NoStrstr		NO
 #endif
@@ -506,7 +509,7 @@
 #define ByteOrder		X_LITTLE_ENDIAN
 #elif defined(RsArchitecture)
 #define ByteOrder		X_BIG_ENDIAN
-#elif defined(PpcArchitecture)
+#elif defined(PpcArchitecture) || defined(Ppc64Architecture)
 #define ByteOrder		X_BIG_ENDIAN
 #elif defined(HPArchitecture)
 #define ByteOrder		X_BIG_ENDIAN




More information about the xorg-commit-diffs mailing list