diff options
author | tron <tron@pkgsrc.org> | 1998-12-28 18:52:05 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-12-28 18:52:05 +0000 |
commit | 6877d2a872b4df2cf46e16597f1155c85f04332b (patch) | |
tree | 6edc8367927f3ec7a41bba9a09e68321ab89f774 /x11/xview-lib | |
parent | 059a5021da67410c4c8511b338dee732062fba55 (diff) | |
download | pkgsrc-6877d2a872b4df2cf46e16597f1155c85f04332b.tar.gz |
Patches supplied by Matthieu Herrb in PR pkg/6612 to make xview compile
after signal changes.
Diffstat (limited to 'x11/xview-lib')
-rw-r--r-- | x11/xview-lib/patches/patch-ai | 18 | ||||
-rw-r--r-- | x11/xview-lib/patches/patch-aj | 16 |
2 files changed, 34 insertions, 0 deletions
diff --git a/x11/xview-lib/patches/patch-ai b/x11/xview-lib/patches/patch-ai new file mode 100644 index 00000000000..685089e3168 --- /dev/null +++ b/x11/xview-lib/patches/patch-ai @@ -0,0 +1,18 @@ +$NetBSD: patch-ai,v 1.1 1998/12/28 18:52:05 tron Exp $ + +--- lib/libxview/notify/ntfy.h~ Sun Dec 6 18:45:02 1998 ++++ lib/libxview/notify/ntfy.h Sat Dec 19 13:49:24 1998 +@@ -188,9 +188,12 @@ + extern sigset_t ntfy_sigs_delayed;/* Bit mask of signals received while in + critical section */ + +-#ifdef SVR4 ++#if defined(SVR4) + #define sigisempty(s) (!(((s)->__sigbits[0]) | ((s)->__sigbits[1]) \ + | ((s)->__sigbits[2]) | ((s)->__sigbits[3]))) ++#elif defined(__NetBSD__) && (__NetBSD_Version__ > 103080000) ++#define sigisempty(s) (!(((s)->__bits[0]) | ((s)->__bits[1]) \ ++ | ((s)->__bits[2]) | ((s)->__bits[3]))) + #else + #define sigisempty(s) (!(*(s))) + #endif diff --git a/x11/xview-lib/patches/patch-aj b/x11/xview-lib/patches/patch-aj new file mode 100644 index 00000000000..b991e1a1214 --- /dev/null +++ b/x11/xview-lib/patches/patch-aj @@ -0,0 +1,16 @@ +$NetBSD: patch-aj,v 1.1 1998/12/28 18:52:05 tron Exp $ + +--- lib/libxview/textsw/txt_file.c~ Sun Dec 6 18:45:10 1998 ++++ lib/libxview/textsw/txt_file.c Sat Dec 19 13:56:47 1998 +@@ -52,7 +52,11 @@ + #endif /* SVR4 */ + extern int errno, sys_nerr; + #if (defined(BSD) && (BSD >= 199306)) ++#if __NetBSD_Version__ > 103080000 ++#include <errno.h> ++#else + extern const char *const sys_errlist[]; ++#endif + #else + extern char *sys_errlist[]; + #endif |