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

Bug#161072: xlibs: XScreenSaverQueryInfo broken on Alpha


here's a patch for this bug from Jay Estabrook. It would be nice if
you could add it to the Debian patches till it gets included upstream.


--- Begin Message ---
On Tue, Oct 15, 2002 at 12:54:46AM +0200, Falk Hueffner wrote:
> BTW, you being a X and an Alpha hacker, should you ever feel bored,
> could you perhaps have a look at
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=161072 ? This makes
> quite a few programs crash on Alpha, and it's probably easy to fix...

Find the diffs at the end that'll fix it, then rebuild libXss.a.

They mimic what was done in various other *proto.h files in that
same directory, ie


I'm going to Cc: this to some of the XFree86 folks as well...



Jay A Estabrook                            HPTC - LINUX support
Hewlett-Packard Company - MRO1-2/K15       (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@hp.com
--- saverproto.h.ORIG	Thu Nov  7 16:04:48 2002
+++ saverproto.h	Thu Nov  7 16:25:45 2002
@@ -31,6 +31,11 @@
 #define _SAVERPROTO_H_
 #include "saver.h"
+#define Drawable CARD32
+#define Window CARD32
+#define VisualID CARD32
+#define Time CARD32
 #define X_ScreenSaverQueryVersion   0
 typedef struct _ScreenSaverQueryVersion {
@@ -137,4 +142,9 @@
 } xScreenSaverNotifyEvent;
 #define sz_xScreenSaverNotifyEvent	32
+#undef Drawable
+#undef Window
+#undef VisualID
+#undef Time
 #endif /* _SAVERPROTO_H_ */

--- End Message ---


Reply to: