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                      Date:   31-Jul-2003 09:23:36
  Branch: OPENPKG_1_3_SOLID                Handle: 2003073108233600

  Added files:              (Branch: OPENPKG_1_3_SOLID)
    openpkg-src/lmtp2nntp   lmtp2nntp.patch
  Modified files:           (Branch: OPENPKG_1_3_SOLID)
    openpkg-src/lmtp2nntp   lmtp2nntp.spec

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

  Summary:
    Revision    Changes     Path
    1.1.4.1     +82 -0      openpkg-src/lmtp2nntp/lmtp2nntp.patch
    1.33.2.3.2.2+2  -0      openpkg-src/lmtp2nntp/lmtp2nntp.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/lmtp2nntp/lmtp2nntp.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1.4.1 lmtp2nntp.patch
  --- /dev/null 2003-07-31 09:23:36.000000000 +0200
  +++ lmtp2nntp.patch   2003-07-31 09:23:36.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.2.1 -r1.33.2.3.2.2 lmtp2nntp.spec
  --- openpkg-src/lmtp2nntp/lmtp2nntp.spec      29 Jul 2003 14:59:45 -0000      
1.33.2.3.2.1
  +++ openpkg-src/lmtp2nntp/lmtp2nntp.spec      31 Jul 2003 07:23:36 -0000      
1.33.2.3.2.2
  @@ -39,6 +39,7 @@
   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}" \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to