[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Advance warning of ARM patch



Hi Branden,

I'm trying to build your latest X for ARM.

It looks like you left out one of my patches.  The missing patch was
026_arm_XtOffset.diff.  I'll include it again at the end of this
email.

It fixes an upstream bug - but I'm not sure what the best way to fix
it is because I don't know why they're doing what they are doing in
the first place.  It's probably to compensate for some non-Linux ARM
platform.  But for Debian, the patch should be OK.

I'm going to try to build it right now with the new patch included.
It takes a few hours to build.

Thanks for integrating the ARM stuff!

Cheers,

 - Jim

--- Intrinsic.h.original	Tue Aug 17 22:16:01 1999
+++ xc/lib/Xt/Intrinsic.h	Tue Aug 17 22:16:27 1999
@@ -2059,7 +2059,7 @@
 #define XtDefaultFont		"XtDefaultFont"
 #define XtDefaultFontSet	"XtDefaultFontSet"
 
-#if defined(CRAY) || defined(__arm) || defined(__ACK)
+#if defined(CRAY) || defined(__ACK)
 #if __STDC__ && !defined(__ACK)
 #define XtOffset(p_type,field) _Offsetof(p_type,field)
 #else
@@ -2073,7 +2073,7 @@
 
 #endif	/* !CRAY2 */
 #endif  /* __STDC__ */
-#else	/* ! (CRAY || __arm || __ACK) */
+#else	/* ! (CRAY || __ACK) */
 
 #define XtOffset(p_type,field) \
 	((Cardinal) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))


Reply to: