pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xview-lib Make this compile on NetBSD 2.0 too.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ced0772c091
branches:  trunk
changeset: 481289:1ced0772c091
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Thu Sep 30 20:38:28 2004 +0000

description:
Make this compile on NetBSD 2.0 too.

Thanks to Douglas Wade Needham for providing patches (on pkgsrc-bulk@).

diffstat:

 x11/xview-lib/distinfo         |   6 +++---
 x11/xview-lib/patches/patch-cy |  13 +++++++------
 x11/xview-lib/patches/patch-de |  11 ++++++-----
 3 files changed, 16 insertions(+), 14 deletions(-)

diffs (97 lines):

diff -r 7c153a7ae231 -r 1ced0772c091 x11/xview-lib/distinfo
--- a/x11/xview-lib/distinfo    Thu Sep 30 16:34:32 2004 +0000
+++ b/x11/xview-lib/distinfo    Thu Sep 30 20:38:28 2004 +0000
@@ -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-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 -r 7c153a7ae231 -r 1ced0772c091 x11/xview-lib/patches/patch-cy
--- a/x11/xview-lib/patches/patch-cy    Thu Sep 30 16:34:32 2004 +0000
+++ b/x11/xview-lib/patches/patch-cy    Thu Sep 30 20:38:28 2004 +0000
@@ -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 @@
  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 -r 7c153a7ae231 -r 1ced0772c091 x11/xview-lib/patches/patch-de
--- a/x11/xview-lib/patches/patch-de    Thu Sep 30 16:34:32 2004 +0000
+++ b/x11/xview-lib/patches/patch-de    Thu Sep 30 20:38:28 2004 +0000
@@ -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 @@
  #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



Home | Main Index | Thread Index | Old Index