On Sat, Nov 09, 2002 at 10:07:44PM +0100, Falk Hueffner wrote: > the previous patch didn't apply cleanly against 4.2.1; this one > does. I've also tested it, and it works. > > As libXss is only built statically, programs using it will have to be > rebuilt on Alpha. I will try to do that for programs I can identify, > after a fixed X has been uploaded. You're too late, I already wrote my own version. :) The attached patch will be in 4.2.1-4. -- G. Branden Robinson | Suffer before God and ye shall be Debian GNU/Linux | redeemed. God loves us, so He branden@debian.org | makes us suffer Christianity. http://people.debian.org/~branden/ | -- Aaron Dunsmore
This patch by Jay Estabrook.
--- xc/include/extensions/saverproto.h~ 2002-11-09 01:13:32.000000000 -0500
+++ xc/include/extensions/saverproto.h 2002-11-09 01:17:07.000000000 -0500
@@ -33,6 +33,16 @@
#include <X11/extensions/saver.h>
+/*
+ * Symbols: These are undefined at the end of this file to restore the
+ * definitions they have in X.h.
+ */
+
+#define Drawable CARD32
+#define Window CARD32
+#define VisualID CARD32
+#define Time CARD32
+
#define X_ScreenSaverQueryVersion 0
typedef struct _ScreenSaverQueryVersion {
@@ -139,4 +149,9 @@
} xScreenSaverNotifyEvent;
#define sz_xScreenSaverNotifyEvent 32
+#undef Drawable
+#undef Window
+#undef VisualID
+#undef Time
+
#endif /* _SAVERPROTO_H_ */
Attachment:
pgp2YWk21g9uc.pgp
Description: PGP signature