ports/98590: [FIX] ports rxvt-devel on amd64 crashes inside rxvt_selection_send()
Yoshiaki Kasahara
kasahara at nc.kyushu-u.ac.jp
Fri Jan 4 13:46:30 UTC 2008
Hi.
Here is the simplest patch. I'm not sure if hard-coded '32' is
appropreate here.
--- src/screen.c.orig Fri Jan 4 22:41:14 2008
+++ src/screen.c Fri Jan 4 22:41:45 2008
@@ -3548,7 +3548,7 @@
/* TODO: Handle MULTIPLE */
} else if (rq->target == r->h->xa[XA_TIMESTAMP] && r->selection.text) {
XChangeProperty(r->Xdisplay, rq->requestor, rq->property, XA_INTEGER,
- (8 * sizeof(Time)), PropModeReplace,
+ 32, PropModeReplace,
(unsigned char *)&r->h->selection_time, 1);
ev.property = rq->property;
} else if (rq->target == XA_STRING
More information about the freebsd-ports-bugs
mailing list