OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   30-Jul-2003 15:26:38
  Branch: HEAD                             Handle: 2003073014263602

  Added files:
    openpkg-src/ncurses     ncurses.patch
  Modified files:
    openpkg-src/ncurses     ncurses.spec
    openpkg-web             news.txt

  Log:
    replace configure time check for stdbool.h with compile time check

  Summary:
    Revision    Changes     Path
    1.1         +28 -0      openpkg-src/ncurses/ncurses.patch
    1.105       +3  -1      openpkg-src/ncurses/ncurses.spec
    1.5910      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ncurses/ncurses.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 ncurses.patch
  --- /dev/null 2003-07-30 15:26:38.000000000 +0200
  +++ ncurses.patch     2003-07-30 15:26:38.000000000 +0200
  @@ -0,0 +1,28 @@
  +--- 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
  +@@ -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.
  +  */
  + 
  + #undef TRUE
  +@@ -127,13 +130,13 @@
  + 
  + #if @USE_CXX_BOOL@ /* !__cplusplus, 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;
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ncurses/ncurses.spec
  ============================================================================
  $ cvs diff -u -r1.104 -r1.105 ncurses.spec
  --- openpkg-src/ncurses/ncurses.spec  27 Jul 2003 07:33:13 -0000      1.104
  +++ openpkg-src/ncurses/ncurses.spec  30 Jul 2003 13:26:38 -0000      1.105
  @@ -68,7 +68,7 @@
   Group:        Terminal
   License:      GPL
   Version:      %{V_base}.%{V_patchL}
  -Release:      20030727
  +Release:      20030730
   
   #   list of sources
   Source0:      ftp://invisible-island.net/ncurses/ncurses-%{V_base}.tar.gz
  @@ -102,6 +102,7 @@
   Patch27:      
ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch27}.patch.gz
   Patch28:      
ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch28}.patch.gz
   Patch29:      
ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch29}.patch.gz
  +Patch30:      ncurses.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -129,6 +130,7 @@
       do
           %{l_gzip} -d -c $patchfile | %{l_patch} -p1 || true
       done
  +    %patch30
   
   %build
       CC="%{l_cc}" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5909 -r1.5910 news.txt
  --- openpkg-web/news.txt      30 Jul 2003 09:50:03 -0000      1.5909
  +++ openpkg-web/news.txt      30 Jul 2003 13:26:36 -0000      1.5910
  @@ -1,3 +1,4 @@
  +30-Jul-2003: Upgraded package: P<ncurses-5.3.20030726-20030730>
   30-Jul-2003: Upgraded package: P<flex-2.5.4a-20030730>
   30-Jul-2003: Upgraded package: P<cdk-4.9.10.20030418-20030730>
   30-Jul-2003: Upgraded package: P<expect-5.38-20030730>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to