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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   31-Jul-2003 09:22:50
  Branch: OPENPKG_1_STABLE HEAD            Handle: 2003073108224801

  Added files:              (Branch: OPENPKG_1_STABLE)
    openpkg-src/lmtp2nntp   lmtp2nntp.patch
  Modified files:
    openpkg-web             news.txt
  Modified files:           (Branch: OPENPKG_1_STABLE)
    openpkg-src/lmtp2nntp   lmtp2nntp.spec

  Log:
    MFC: fix building: va_list is not comparable against NULL

  Summary:
    Revision    Changes     Path
    1.1.2.1     +82 -0      openpkg-src/lmtp2nntp/lmtp2nntp.patch
    1.33.2.4    +3  -1      openpkg-src/lmtp2nntp/lmtp2nntp.spec
    1.5920      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/lmtp2nntp/lmtp2nntp.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1.2.1 lmtp2nntp.patch
  --- /dev/null 2003-07-31 09:22:49.000000000 +0200
  +++ lmtp2nntp.patch   2003-07-31 09:22:49.000000000 +0200
  @@ -0,0 +1,82 @@
  +--- lib_l2/l2_channel.c.orig Mon Jan 27 17:01:35 2003
  ++++ lib_l2/l2_channel.c      Thu Jul 31 08:58:17 2003
  +@@ -560,7 +560,7 @@
  +     l2_env_t *env;
  + 
  +     /* argument sanity check */
  +-    if (ch == NULL || level == 0 || fmt == NULL || ap == NULL)
  ++    if (ch == NULL || level == 0 || fmt == NULL)
  +         return L2_ERR_ARG;
  + 
  +     /* make sure only a single level is specified */
  +--- lib_l2/l2_ut_param.c.orig        Mon Jan  6 12:41:52 2003
  ++++ lib_l2/l2_ut_param.c     Thu Jul 31 08:59:07 2003
  +@@ -46,7 +46,7 @@
  +     int n;
  + 
  +     /* argument sanity check */
  +-    if (env == NULL || pa == NULL || fmt == NULL || ap == NULL)
  ++    if (env == NULL || pa == NULL || fmt == NULL)
  +         return L2_ERR_ARG;
  + 
  +     /* on-the-fly create or just take over parameter specification string */
  +--- lib_val/val.c.orig       Thu Feb  6 17:58:40 2003
  ++++ lib_val/val.c    Thu Jul 31 09:00:43 2003
  +@@ -824,7 +824,7 @@
  +     val_t *child;
  + 
  +     /* argument consistency check */
  +-    if (val == NULL || name == NULL || ap == NULL)
  ++    if (val == NULL || name == NULL)
  +         return VAL_RC(VAL_ERR_ARG);
  + 
  +     /* recursive step-down on structured name */
  +@@ -888,7 +888,7 @@
  +     val_t *child;
  + 
  +     /* argument consistency check */
  +-    if (val == NULL || name == NULL || ap == NULL)
  ++    if (val == NULL || name == NULL)
  +         return VAL_RC(VAL_ERR_ARG);
  +     
  +     /* recursive step-down on structured name */
  +--- lib_var/var.c.orig       Mon Feb 10 22:15:41 2003
  ++++ lib_var/var.c    Thu Jul 31 09:01:11 2003
  +@@ -126,7 +126,7 @@
  +     int n;
  +     int bytes;
  + 
  +-    if (format == NULL || ap == NULL)
  ++    if (format == NULL)
  +         return -1;
  +     bytes = 0;
  +     while (*format != '\0') {
  +@@ -214,7 +214,7 @@
  +     int n;
  +     var_mvsnprintf_cb_t ctx;
  + 
  +-    if (format == NULL || ap == NULL)
  ++    if (format == NULL)
  +         return -1;
  +     if (buffer != NULL && bufsize == 0)
  +         return -1;
  +--- lib_tai/ts.c.orig        Thu Apr 18 11:10:47 2002
  ++++ lib_tai/ts.c     Thu Jul 31 09:05:09 2003
  +@@ -126,7 +126,7 @@
  +     int n;
  +     int bytes;
  + 
  +-    if (format == NULL || ap == NULL)
  ++    if (format == NULL)
  +         return -1;
  +     bytes = 0;
  +     while (*format != '\0') {
  +@@ -200,7 +200,7 @@
  +     int n;
  +     va_list ap2;
  + 
  +-    if (format == NULL || ap == NULL)
  ++    if (format == NULL)
  +         return NULL;
  +     ap2 = ap;
  +     if ((n = ts_suite_mvxprintf(NULL, 0, format, ap)) == -1)
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lmtp2nntp/lmtp2nntp.spec
  ============================================================================
  $ cvs diff -u -r1.33.2.3 -r1.33.2.4 lmtp2nntp.spec
  --- openpkg-src/lmtp2nntp/lmtp2nntp.spec      24 Jul 2003 20:44:26 -0000      
1.33.2.3
  +++ openpkg-src/lmtp2nntp/lmtp2nntp.spec      31 Jul 2003 07:22:49 -0000      
1.33.2.4
  @@ -33,12 +33,13 @@
   Group:        Mail
   License:      GPL
   Version:      1.2.0
  -Release:      1.20030724
  +Release:      1.20030731
   
   #   list of sources
   Source0:      ftp://ftp.ossp.org/pkg/tool/lmtp2nntp/lmtp2nntp-%{version}.tar.gz
   Source1:      rc.lmtp2nntp
   Source2:      lmtp2nntp.conf
  +Patch0:       lmtp2nntp.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -62,6 +63,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5919 -r1.5920 news.txt
  --- openpkg-web/news.txt      31 Jul 2003 07:15:54 -0000      1.5919
  +++ openpkg-web/news.txt      31 Jul 2003 07:22:48 -0000      1.5920
  @@ -1,3 +1,4 @@
  +31-Jul-2003: Upgraded package: P<lmtp2nntp-1.2.0-1.20030731>
   31-Jul-2003: Upgraded package: P<lmtp2nntp-1.2.0-20030731>
   30-Jul-2003: Upgraded package: P<ksh-20030724-1.20030730>
   30-Jul-2003: Upgraded package: P<ksh-20030724-20030730>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to