Explorar o código

upgrading package: ncurses 5.4.20040214 -> 5.4.20040221

Ralf S. Engelschall %!s(int64=22) %!d(string=hai) anos
pai
achega
c059c3db15
Modificáronse 2 ficheiros con 18 adicións e 22 borrados
  1. 13 19
      ncurses/ncurses.patch
  2. 5 3
      ncurses/ncurses.spec

+ 13 - 19
ncurses/ncurses.patch

@@ -1,22 +1,16 @@
 Index: include/curses.h.in
---- include/curses.h.in.orig	2004-01-18 10:36:33.000000000 +0100
-+++ include/curses.h.in	2004-01-18 10:39:17.000000000 +0100
-@@ -115,6 +115,9 @@
-  * Otherwise, let it remain a typedef to avoid conflicts with other #define's.
-  * In either case, make a typedef for NCURSES_BOOL which can be used if needed
-  * from either C or C++.
-+ *
-+ * We have <stdbool.h> if and only if we are a ISO C 9x compiler. A configure
-+ * time check is not sufficient.
+--- include/curses.h.in.orig	2004-02-22 09:36:58.000000000 +0100
++++ include/curses.h.in	2004-02-22 09:37:14.000000000 +0100
+@@ -61,7 +61,11 @@
+  * User-definable tweak to disable the include of <stdbool.h>.
   */
- 
- #undef TRUE
-@@ -132,7 +135,7 @@
- 
- #else			/* c89, c99, etc. */
- 
--#if @cf_cv_header_stdbool_h@
+ #ifndef NCURSES_ENABLE_STDBOOL_H
+-#define NCURSES_ENABLE_STDBOOL_H @cf_cv_header_stdbool_h@
 +#if defined(__STDC__) && (__STDC_VERSION__ >= 199901L)
- #include <stdbool.h>
- /* use whatever the C compiler decides bool really is */
- #define NCURSES_BOOL bool
++#define NCURSES_ENABLE_STDBOOL_H 1
++#else
++#define NCURSES_ENABLE_STDBOOL_H 0
++#endif
+ #endif
+ 
+ /*

+ 5 - 3
ncurses/ncurses.spec

@@ -26,8 +26,9 @@
 #   package versions
 %define       V_base    5.4
 %define       V_patch1  20040214
-%define       V_patchL  %{V_patch1}
-%define       V_patches 1
+%define       V_patch2  20040221
+%define       V_patchL  %{V_patch2}
+%define       V_patches 2
 
 #   package information
 Name:         ncurses
@@ -40,11 +41,12 @@ Class:        BASE
 Group:        Terminal
 License:      GPL
 Version:      %{V_base}.%{V_patchL}
-Release:      20040215
+Release:      20040222
 
 #   list of sources
 Source0:      ftp://invisible-island.net/ncurses/ncurses-%{V_base}.tar.gz
 Patch1:       ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch1}.patch.gz
+Patch2:       ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch2}.patch.gz
 Patch100:     ncurses.patch
 
 #   build information