openbsd-ports/x11/xview/config/patches/p-libxview-sel-sel_agent_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

24 lines
785 B
Plaintext

--- ./lib/libxview/sel/sel_agent.c.orig Sun Jun 26 20:46:20 1994
+++ ./lib/libxview/sel/sel_agent.c Sat Apr 1 18:25:27 2000
@@ -63,7 +63,7 @@ static Seln_result seln_do_request_from_
static void selection_agent_do_function();
static Atom get_atom();
static Seln_attribute save_atom();
-
+static int waitforReadableTimeout();
Xv_private Seln_result seln_convert_request_to_property();
/* called by seln_svc.c
@@ -309,7 +309,11 @@ seln_do_request_from_file(attr, context,
struct stat stat_buf;
int count, size;
char *destp;
+#if (defined(BSD) && (BSD >= 199306))
+ extern off_t lseek();
+#else
extern long lseek();
+#endif
if (fstat(fd, &stat_buf) != 0) {
perror(XV_MSG("Agent couldn't reply about a file"));