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

15 lines
347 B
Plaintext

--- ./lib/libxview/notify/sys_fcntl.c.orig Tue Jun 29 07:18:17 1993
+++ ./lib/libxview/notify/sys_fcntl.c Sat Apr 1 18:25:17 2000
@@ -15,7 +15,11 @@ static char sccsid[] = "@(#)sys_fcnt
*/
#ifndef SVR4
+#ifndef __OpenBSD__
#include <syscall.h>
+#else
+#include <sys/syscall.h>
+#endif
#else SVR4
#include <sys/syscall.h>
#endif SVR4