aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2000-08-04 17:33:00 +0800
committerroger <roger@FreeBSD.org>2000-08-04 17:33:00 +0800
commitcf617da5de9f74305e0c2b76cbfca19c09000d93 (patch)
tree9d90e12a6b51a1fd9f529213131ab81004320bc0 /misc
parent215e29ee320ab99b5604fed85c85cd274a05743e (diff)
downloadfreebsd-ports-gnome-cf617da5de9f74305e0c2b76cbfca19c09000d93.tar.gz
freebsd-ports-gnome-cf617da5de9f74305e0c2b76cbfca19c09000d93.tar.zst
freebsd-ports-gnome-cf617da5de9f74305e0c2b76cbfca19c09000d93.zip
Replace patch-ab with an alternative fix supplied by
the Alevt author. Submitted by: Edgar Toernig <froese@gmx.de>
Diffstat (limited to 'misc')
-rw-r--r--misc/alevt/files/patch-ab24
1 files changed, 11 insertions, 13 deletions
diff --git a/misc/alevt/files/patch-ab b/misc/alevt/files/patch-ab
index 9ce44f126221..b5015fa9d2b4 100644
--- a/misc/alevt/files/patch-ab
+++ b/misc/alevt/files/patch-ab
@@ -1,13 +1,11 @@
-*** xio.c.orig Thu Oct 7 23:24:38 1999
---- xio.c Tue Aug 1 15:57:33 2000
-*************** xio_open_dpy(char *dpy, int argc, char *
-*** 170,175 ****
---- 170,177 ----
- if (not(xio = malloc(sizeof(*xio))))
- goto fail1;
-
-+ bzero(xio, sizeof *xio);
-+
- if (not(xio->dpy = XOpenDisplay(dpy)))
- goto fail2;
-
+--- xio.c.orig Fri Oct 8 00:24:38 1999
++++ xio.c Thu Aug 3 02:59:55 2000
+@@ -180,7 +180,7 @@
+ xio->screen = DefaultScreen(xio->dpy);
+ xio->depth = DefaultDepth(xio->dpy, xio->screen);
+ xio->width = DisplayWidth(xio->dpy, xio->screen);
+- xio->height = DisplayHeight(xio->dpy, xio->height);
++ xio->height = DisplayHeight(xio->dpy, xio->screen);
+ xio->root = DefaultRootWindow(xio->dpy);
+ xio->cmap = DefaultColormap(xio->dpy, xio->screen);
+ xio->xa_del_win = XInternAtom(xio->dpy, "WM_DELETE_WINDOW", False);