pkgsrc/x11/xview-lib/patches/patch-aq
tron 71146f333e Cleanup patch files:
- unified format
- only one patch per file
- no files gets patched twice
2001-12-20 09:19:53 +00:00

25 lines
755 B
Text

$NetBSD: patch-aq,v 1.2 2001/12/20 09:19:55 tron Exp $
--- lib/libxview/sel/sel_agent.c.orig Sun Jun 26 20:46:20 1994
+++ lib/libxview/sel/sel_agent.c Thu Dec 20 10:09:17 2001
@@ -63,7 +63,7 @@
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 @@
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"));