Browse Source

upgrading package: tcsh 6.14.00 -> 6.15.00

Ralf S. Engelschall 18 years ago
parent
commit
ff835475cc
2 changed files with 10 additions and 29 deletions
  1. 8 27
      tcsh/tcsh.patch
  2. 2 2
      tcsh/tcsh.spec

+ 8 - 27
tcsh/tcsh.patch

@@ -1,40 +1,21 @@
 Index: config_f.h
---- config_f.h.orig	2005-03-04 14:46:04 +0100
-+++ config_f.h	2005-09-23 19:16:39 +0200
+--- config_f.h.orig	2006-08-28 16:53:04 +0200
++++ config_f.h	2007-03-04 11:17:31 +0100
 @@ -51,7 +51,7 @@
   *		Allows proper function in multibyte encodings like UTF-8
   */
- #if defined (SHORT_STRINGS) && SIZEOF_WCHAR_T >= 4 && !defined (WINNT_NATIVE) && !defined(_OSD_POSIX)
+ #if defined (SHORT_STRINGS) && defined (NLS) && SIZEOF_WCHAR_T >= 4 && defined (HAVE_MBRTOWC) && !defined (WINNT_NATIVE) && !defined(_OSD_POSIX)
 -# define WIDE_STRINGS
 +# undef WIDE_STRINGS
  #endif
  
  /*
-@@ -60,7 +60,7 @@
-  *		if you don't have <locale.h>, you don't want
+@@ -62,7 +62,7 @@
   *		to define this.
   */
--#define NLS
-+#undef NLS
- 
- /*
-  * NLS_CATALOGS:Use Native Language System catalogs for
-Index: sh.h
---- sh.h.orig	2005-03-25 19:46:41 +0100
-+++ sh.h	2005-09-23 18:51:10 +0200
-@@ -471,6 +471,7 @@
- 
- #include "sh.types.h"
- 
-+#if 0
- #ifndef __NetBSD__ /* XXX */
- #ifndef WINNT_NATIVE
- # ifndef GETPGRP_VOID
-@@ -480,6 +481,7 @@
- # endif
- #endif /* !WINNT_NATIVE */
+ #if defined (NLS) && defined (HAVE_CATGETS)
+-# define NLS_CATALOGS
++# undef NLS_CATALOGS
  #endif
-+#endif
- 
- typedef RETSIGTYPE (*signalfun_t) __P((int));
  
+ /*

+ 2 - 2
tcsh/tcsh.spec

@@ -32,8 +32,8 @@ Distribution: OpenPKG Community
 Class:        BASE
 Group:        Shell
 License:      BSD
-Version:      6.14.00
-Release:      20070113
+Version:      6.15.00
+Release:      20070304
 
 #   list of sources
 Source0:      ftp://ftp.gw.com/pub/unix/tcsh/tcsh-%{version}.tar.gz