pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/aterm/patches Add missing patch-af. Noted by Joach...
details: https://anonhg.NetBSD.org/pkgsrc/rev/241240a2c5e3
branches: trunk
changeset: 476079:241240a2c5e3
user: recht <recht%pkgsrc.org@localhost>
date: Wed Jun 02 20:07:59 2004 +0000
description:
Add missing patch-af. Noted by Joachim Kuebart.
diffstat:
x11/aterm/patches/patch-af | 43 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 43 insertions(+), 0 deletions(-)
diffs (47 lines):
diff -r 9dd97322773d -r 241240a2c5e3 x11/aterm/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/aterm/patches/patch-af Wed Jun 02 20:07:59 2004 +0000
@@ -0,0 +1,43 @@
+$NetBSD: patch-af,v 1.1 2004/06/02 20:07:59 recht Exp $
+
+--- src/screen.c.orig 2001-09-06 18:38:07.000000000 +0200
++++ src/screen.c 2004-05-30 12:43:05.000000000 +0200
+@@ -3313,14 +3313,6 @@
+
+ /* ------------------------------------------------------------------------- */
+ /*
+- * On some systems, the Atom typedef is 64 bits wide. We need to have a type
+- * that is exactly 32 bits wide, because a format of 64 is not allowed by
+- * the X11 protocol.
+- */
+-typedef CARD32 Atom32;
+-
+-/* ------------------------------------------------------------------------- */
+-/*
+ * Respond to a request for our current selection
+ * EXT: SelectionRequest
+ */
+@@ -3329,7 +3321,7 @@
+ selection_send(XSelectionRequestEvent * rq)
+ {
+ XEvent ev;
+- Atom32 target_list[2];
++ Atom target_list[2];
+ static Atom xa_targets = None;
+
+ if (xa_targets == None)
+@@ -3344,10 +3336,10 @@
+ ev.xselection.time = rq->time;
+
+ if (rq->target == xa_targets) {
+- target_list[0] = (Atom32) xa_targets;
+- target_list[1] = (Atom32) XA_STRING;
+- XChangeProperty(Xdisplay, rq->requestor, rq->property, rq->target,
+- (8 * sizeof(target_list[0])), PropModeReplace,
++ target_list[0] = xa_targets;
++ target_list[1] = XA_STRING;
++ XChangeProperty(Xdisplay, rq->requestor, rq->property, XA_ATOM,
++ 32, PropModeReplace,
+ (unsigned char *)target_list,
+ (sizeof(target_list) / sizeof(target_list[0])));
+ ev.xselection.property = rq->property;
Home |
Main Index |
Thread Index |
Old Index