ソースを参照

upgrading package: ncurses 5.3.20040110 -> 5.3.20040117

Ralf S. Engelschall 22 年 前
コミット
b4d4ded0c8
2 ファイル変更12 行追加40 行削除
  1. 7 13
      ncurses/ncurses.patch
  2. 5 27
      ncurses/ncurses.spec

+ 7 - 13
ncurses/ncurses.patch

@@ -1,5 +1,6 @@
---- include/curses.h.in.dist	2003-07-30 15:13:01.000000000 +0200
-+++ include/curses.h.in	2003-07-30 15:15:08.000000000 +0200
+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
@@ -10,19 +11,12 @@
   */
  
  #undef TRUE
-@@ -127,13 +130,13 @@
+@@ -132,7 +135,7 @@
  
- #if @USE_CXX_BOOL@ /* !__cplusplus, etc. */
+ #else			/* c89, c99, etc. */
  
 -#if @cf_cv_header_stdbool_h@
 +#if defined(__STDC__) && (__STDC_VERSION__ >= 199901L)
  #include <stdbool.h>
- #endif
- 
- #undef bool
- 
--#if @cf_cv_header_stdbool_h@
-+#if defined(__STDC__) && (__STDC_VERSION__ >= 199901L)
- #define bool NCURSES_BOOL
- #else
- typedef NCURSES_BOOL bool;
+ /* use whatever the C compiler decides bool really is */
+ #define NCURSES_BOOL bool

+ 5 - 27
ncurses/ncurses.spec

@@ -25,21 +25,10 @@
 
 #   package versions
 %define       V_base    5.3
-%define       V_patch0  20031004
-%define       V_patch1  20031018
-%define       V_patch2  20031025
-%define       V_patch3  20031101
-%define       V_patch4  20031108
-%define       V_patch5  20031122
-%define       V_patch6  20031129
-%define       V_patch7  20031206
-%define       V_patch8  20031213
-%define       V_patch9  20031220
-%define       V_patch10 20031227
-%define       V_patch11 20040103
-%define       V_patch12 20040110
-%define       V_patchL  %{V_patch12}
-%define       V_patches 12
+%define       V_patch0  20040110
+%define       V_patch1  20040117
+%define       V_patchL  %{V_patch1}
+%define       V_patches 1
 
 #   package information
 Name:         ncurses
@@ -51,23 +40,12 @@ Distribution: OpenPKG [BASE]
 Group:        Terminal
 License:      GPL
 Version:      %{V_base}.%{V_patchL}
-Release:      20040111
+Release:      20040118
 
 #   list of sources
 Source0:      ftp://invisible-island.net/ncurses/ncurses-%{V_base}.tar.gz
 Patch0:       ftp://invisible-island.net/ncurses/%{V_base}/patch-%{V_base}-%{V_patch0}.sh
 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
-Patch3:       ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch3}.patch.gz
-Patch4:       ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch4}.patch.gz
-Patch5:       ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch5}.patch.gz
-Patch6:       ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch6}.patch.gz
-Patch7:       ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch7}.patch.gz
-Patch8:       ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch8}.patch.gz
-Patch9:       ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch9}.patch.gz
-Patch10:      ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch10}.patch.gz
-Patch11:      ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch11}.patch.gz
-Patch12:      ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch12}.patch.gz
 Patch100:     ncurses.patch
 
 #   build information