aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-01-04 23:53:27 +0800
committerpav <pav@FreeBSD.org>2008-01-04 23:53:27 +0800
commit168ba1b6617ac7617c29e16a55f7e16146e83833 (patch)
tree9c409071211618828c3ac322db356b50373cec4d
parent9c0223aeb1781800c15639456fb64820abe12cdc (diff)
downloadfreebsd-ports-gnome-168ba1b6617ac7617c29e16a55f7e16146e83833.tar.gz
freebsd-ports-gnome-168ba1b6617ac7617c29e16a55f7e16146e83833.tar.zst
freebsd-ports-gnome-168ba1b6617ac7617c29e16a55f7e16146e83833.zip
- Fix a runtime crash on amd64
PR: ports/98590 Submitted by: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
-rw-r--r--x11/rxvt-devel/Makefile2
-rw-r--r--x11/rxvt-devel/files/patch-src-screen.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile
index a0a8cbc369a7..78b3f45a9fd7 100644
--- a/x11/rxvt-devel/Makefile
+++ b/x11/rxvt-devel/Makefile
@@ -10,7 +10,7 @@
PORTNAME= rxvt
PORTVERSION= 2.7.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES+= x11
MASTER_SITES= SF
PKGNAMESUFFIX= -devel
diff --git a/x11/rxvt-devel/files/patch-src-screen.c b/x11/rxvt-devel/files/patch-src-screen.c
new file mode 100644
index 000000000000..990384c551c1
--- /dev/null
+++ b/x11/rxvt-devel/files/patch-src-screen.c
@@ -0,0 +1,11 @@
+--- src/screen.c.orig 2003-03-23 17:56:06.000000000 +0100
++++ src/screen.c 2008-01-04 16:45:00.000000000 +0100
+@@ -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