openbsd-ports/x11/xview/config/patches/p-libxview-selection-sel_util_c
espie f3cbb56810 Xview's return.
Cleaned up so that lib depends on config:build, and lndir it
instead of mucking with the source dir.

All patches put into config/patches, separated and renamed
(yes, this is a LARGE fucker).

Fake

xview/clients to come.

Currently installs under /usr/X11R6, some more patches to X needed to fix
that.
2000-04-02 15:25:13 +00:00

20 lines
665 B
Plaintext

--- ./lib/libxview/selection/sel_util.c.orig Tue Jun 29 07:16:03 1993
+++ ./lib/libxview/selection/sel_util.c Sat Apr 1 18:25:28 2000
@@ -23,6 +23,7 @@ static void tvdiff();
static void FreeMultiProp();
static int SelMatchReply();
static Sel_req_tbl *SelMatchReqTbl();
+static int SelFindReply();
Pkg_private struct timeval *
xv_sel_cvt_xtime_to_timeval( XTime )
@@ -601,7 +602,7 @@ Sel_reply_info *reply;
reqTbl->reply = reply;
reqTbl->next = NULL;
(void)XSaveContext( dpy, DefaultRootWindow(dpy),replyCtx,
- (caddr_t *)reqTbl);
+ (XPointer)reqTbl);
return reqTbl;
}
return (Sel_req_tbl *) xv_sel_add_new_req( reqTbl, reply );