diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-09-30 20:38:28 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-09-30 20:38:28 +0000 |
commit | 0063ba76e87b85564923abd0ddca7a0ba2e5c6bd (patch) | |
tree | e9a2ce4fd71cb6a316f96ef7b8876213d05f0045 | |
parent | 4933de09cd307c06b2cafcdb518ad2e38091a597 (diff) | |
download | pkgsrc-0063ba76e87b85564923abd0ddca7a0ba2e5c6bd.tar.gz |
Make this compile on NetBSD 2.0 too.
Thanks to Douglas Wade Needham for providing patches (on pkgsrc-bulk@).
-rw-r--r-- | x11/xview-lib/distinfo | 6 | ||||
-rw-r--r-- | x11/xview-lib/patches/patch-cy | 13 | ||||
-rw-r--r-- | x11/xview-lib/patches/patch-de | 11 |
3 files changed, 16 insertions, 14 deletions
diff --git a/x11/xview-lib/distinfo b/x11/xview-lib/distinfo index 6fbbc878e6a..b46df3d7704 100644 --- a/x11/xview-lib/distinfo +++ b/x11/xview-lib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2001/12/20 09:22:04 tron Exp $ +$NetBSD: distinfo,v 1.7 2004/09/30 20:38:28 kristerw Exp $ SHA1 (xview3.2p1-X11R6.tar.gz) = 1cd04231b893c3e6c70b56791d527b498e21a27a Size (xview3.2p1-X11R6.tar.gz) = 3436814 bytes @@ -78,13 +78,13 @@ SHA1 (patch-cu) = ce19d2151f259e0cb5358a0c4350b391da94cbd9 SHA1 (patch-cv) = 56fffeff6ca82ca661ee5ef72deb1d328777fb3e SHA1 (patch-cw) = ec330b271c23788786ce32941f26d40277d09536 SHA1 (patch-cx) = 55fb26597f0b6737e157af19ed3752e84d5f71f3 -SHA1 (patch-cy) = a29cbfbe902cf6c0dcb7074a873d54319db7f427 +SHA1 (patch-cy) = 2700e41897de42850073f235040088305e065a07 SHA1 (patch-cz) = c54892c234cf60032b236515d0fd20c1a02a99fb SHA1 (patch-da) = 58f289767fd9a6f6a334e0e5a770564b780a1212 SHA1 (patch-db) = 94c13bd10197c4b209a46da3e8008685db22adb6 SHA1 (patch-dc) = 40274cd5581f626914bef70df477469773557e3d SHA1 (patch-dd) = baf2201c61088de823bb42f49427b3f53c3c4123 -SHA1 (patch-de) = 801cdb453f45a27132ad5d1d3dff158e26435b0d +SHA1 (patch-de) = a06bd0224b4c0de068486851753646e268c27673 SHA1 (patch-df) = c2af3e6d2f74942ad1dd3d97c0462f7f3ffff793 SHA1 (patch-dg) = 1c757673e8d21f90363997f853492c7d98192098 SHA1 (patch-dh) = b0b7c1d3b99991c64e4d70a27f601993baa1f91b diff --git a/x11/xview-lib/patches/patch-cy b/x11/xview-lib/patches/patch-cy index 03aee734e9b..fe98709644e 100644 --- a/x11/xview-lib/patches/patch-cy +++ b/x11/xview-lib/patches/patch-cy @@ -1,8 +1,8 @@ -$NetBSD: patch-cy,v 1.1 2001/12/20 09:20:05 tron Exp $ +$NetBSD: patch-cy,v 1.2 2004/09/30 20:38:28 kristerw Exp $ ---- lib/libxview/textsw/txt_file.c.orig Tue Jun 29 07:17:48 1993 -+++ lib/libxview/textsw/txt_file.c Thu Dec 20 10:09:41 2001 -@@ -45,13 +45,26 @@ +--- lib/libxview/textsw/txt_file.c.orig 1993-06-29 07:17:48.000000000 +0200 ++++ lib/libxview/textsw/txt_file.c 2004-09-30 22:24:41.000000000 +0200 +@@ -45,13 +45,27 @@ extern CHAR *STRCAT(); extern CHAR *STRNCAT(); @@ -18,20 +18,21 @@ $NetBSD: patch-cy,v 1.1 2001/12/20 09:20:05 tron Exp $ extern char *getwd(); -#endif /* SVR4 */ +#endif /* GETCWD */ - extern int errno, sys_nerr; +#if (defined(BSD) && (BSD >= 199306)) +#if __NetBSD_Version__ > 103080000 +#include <errno.h> +#else ++extern int errno, sys_nerr; +extern const char *const sys_errlist[]; +#endif +#else + extern int errno, sys_nerr; extern char *sys_errlist[]; +#endif Pkg_private int textsw_change_directory(); Pkg_private void textsw_display(), textsw_display_view_margins(); -@@ -354,21 +367,21 @@ +@@ -354,21 +368,21 @@ } #ifdef OW_I18N diff --git a/x11/xview-lib/patches/patch-de b/x11/xview-lib/patches/patch-de index 7d3c7eebc12..63ed0316763 100644 --- a/x11/xview-lib/patches/patch-de +++ b/x11/xview-lib/patches/patch-de @@ -1,7 +1,7 @@ -$NetBSD: patch-de,v 1.1 2001/12/20 09:20:06 tron Exp $ +$NetBSD: patch-de,v 1.2 2004/09/30 20:38:28 kristerw Exp $ ---- lib/libxview/textsw/es_file.c.orig Tue Jun 29 07:17:34 1993 -+++ lib/libxview/textsw/es_file.c Thu Dec 20 10:09:45 2001 +--- lib/libxview/textsw/es_file.c.orig 1993-06-29 07:17:34.000000000 +0200 ++++ lib/libxview/textsw/es_file.c 2004-09-30 22:12:38.000000000 +0200 @@ -88,10 +88,11 @@ #ifdef SVR4 #include <stdlib.h> @@ -15,14 +15,15 @@ $NetBSD: patch-de,v 1.1 2001/12/20 09:20:06 tron Exp $ #include <sys/param.h> #include <sys/types.h> #include <sys/stat.h> -@@ -110,8 +111,13 @@ +@@ -109,9 +110,14 @@ + #include <xview_private/txt_18impl.h> - extern int errno, sys_nerr; +#if (defined(BSD) && (BSD >= 199306)) +extern const char *const sys_err_list[]; +extern off_t lseek(); +#else + extern int errno, sys_nerr; extern char *sys_errlist[]; extern long lseek(); +#endif |