diff options
author | joerg <joerg> | 2006-01-05 18:25:56 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-05 18:25:56 +0000 |
commit | 07df95cd7c39efce3270f2102fc5028013331021 (patch) | |
tree | 659ad7ad2255232ad9accf5dbc9b4465f2bf905d /x11/xview-lib/patches/patch-do | |
parent | a6bb44eef8817162faf4de8e298ce24ebda2adeb (diff) | |
download | pkgsrc-07df95cd7c39efce3270f2102fc5028013331021.tar.gz |
First try on fixing xview. Fix errno. Add DragonFly support.
Use NAME_MAX when available. Don't try to fake a FILE on DragonFly.
The implementation of textsw_scanf can be improved, it is very
defensively and slow ATM, the snprintf usage should be portable.
Fix a number of prototype mismatches, e.g. variable argument functions
can conflict with K&R prototypes.
Bump revision since the package "compiled" before, e.g. build
errors where ignored.
Diffstat (limited to 'x11/xview-lib/patches/patch-do')
-rw-r--r-- | x11/xview-lib/patches/patch-do | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/xview-lib/patches/patch-do b/x11/xview-lib/patches/patch-do index 924a2474c34..5e2a0a74822 100644 --- a/x11/xview-lib/patches/patch-do +++ b/x11/xview-lib/patches/patch-do @@ -1,4 +1,4 @@ -$NetBSD: patch-do,v 1.1 2001/12/20 09:20:07 tron Exp $ +$NetBSD: patch-do,v 1.2 2006/01/05 18:25:57 joerg Exp $ --- lib/libxview/notify/sys_read.c.orig Tue Jun 29 07:18:01 1993 +++ lib/libxview/notify/sys_read.c Thu Dec 20 10:09:16 2001 @@ -6,7 +6,7 @@ $NetBSD: patch-do,v 1.1 2001/12/20 09:20:07 tron Exp $ */ #ifndef SVR4 -+#if !defined(__FreeBSD__) && !defined(__NetBSD__) ++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) #include <syscall.h> +#else +#include <sys/syscall.h> |