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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   04-Apr-2009 10:34:09
  Branch: HEAD                             Handle: 2009040409340800

  Modified files:
    openpkg-src/libidn      libidn.patch libidn.spec

  Log:
    upgrading package: libidn 1.11 -> 1.14

  Summary:
    Revision    Changes     Path
    1.6         +74 -25     openpkg-src/libidn/libidn.patch
    1.59        +2  -2      openpkg-src/libidn/libidn.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/libidn/libidn.patch
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 libidn.patch
  --- openpkg-src/libidn/libidn.patch   1 Nov 2008 10:11:11 -0000       1.5
  +++ openpkg-src/libidn/libidn.patch   4 Apr 2009 08:34:08 -0000       1.6
  @@ -1,6 +1,57 @@
  +Index: configure
  +--- configure.orig   2009-04-03 14:28:28 +0200
  ++++ configure        2009-04-04 09:25:40 +0200
  +@@ -4944,10 +4944,7 @@
  + if $ac_preproc_ok; then
  +   :
  + else
  +-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  +-as_fn_error "C preprocessor \"$CPP\" fails sanity check
  +-See \`config.log' for more details." "$LINENO" 5; }
  ++  :
  + fi
  + 
  + ac_ext=c
  +Index: gl/error.c
  +--- gl/error.c.orig  2009-04-03 14:13:43 +0200
  ++++ gl/error.c       2009-04-04 09:25:40 +0200
  +@@ -28,7 +28,7 @@
  + #include <stdlib.h>
  + #include <string.h>
  + 
  +-#if !_LIBC && ENABLE_NLS
  ++#if !_LIBC && defined(ENABLE_NLS)
  + # include "gettext.h"
  + # define _(msgid) gettext (msgid)
  + #endif
  +Index: gl/gettext.h
  +--- gl/gettext.h.orig        2009-04-03 14:13:43 +0200
  ++++ gl/gettext.h     2009-04-04 09:25:40 +0200
  +@@ -19,7 +19,7 @@
  + #define _LIBGETTEXT_H 1
  + 
  + /* NLS can be disabled through the configure --disable-nls option.  */
  +-#if ENABLE_NLS
  ++#ifdef ENABLE_NLS
  + 
  + /* Get declarations of GNU message catalog functions.  */
  + # include <libintl.h>
  +Index: lib/gl/gettext.h
  +--- lib/gl/gettext.h.orig    2009-04-03 14:13:43 +0200
  ++++ lib/gl/gettext.h 2009-04-04 09:54:12 +0200
  +@@ -19,7 +19,7 @@
  + #define _LIBGETTEXT_H 1
  + 
  + /* NLS can be disabled through the configure --disable-nls option.  */
  +-#if ENABLE_NLS
  ++#ifdef ENABLE_NLS
  + 
  + /* Get declarations of GNU message catalog functions.  */
  + # include <libintl.h>
   Index: lib/gl/stdint.in.h
  ---- lib/gl/stdint.in.h.orig  2008-10-22 11:16:31 +0200
  -+++ lib/gl/stdint.in.h       2008-11-01 11:04:53 +0100
  +--- lib/gl/stdint.in.h.orig  2009-04-03 14:13:43 +0200
  ++++ lib/gl/stdint.in.h       2009-04-04 10:28:44 +0200
   @@ -82,7 +82,7 @@
    # include <sys/inttypes.h>
    #endif
  @@ -10,32 +61,30 @@
      /* Linux libc4 >= 4.6.7 and libc5 have a <sys/bitypes.h> that defines
         int{8,16,32,64}_t and __BIT_TYPES_DEFINED__.  In libc5 >= 5.2.2 it is
         included by <sys/types.h>.  */
  -@@ -437,8 +437,9 @@
  +@@ -469,7 +469,7 @@
  + #  define SIZE_MAX  _STDINT_MAX (0, 32, 0ul)
  + # endif
  + #else
  +-# define SIZE_MAX  _STDINT_MAX (0, @BITSIZEOF_SIZE_T@, 0...@size_t_suffix@)
  ++# define SIZE_MAX  _STDINT_MAX (0, sizeof(size_t)*8, 0...@size_t_suffix@)
  + #endif
    
  + /* wchar_t limits */
  +Index: lib/stringprep.c
  +--- lib/stringprep.c.orig    2009-04-03 14:13:43 +0200
  ++++ lib/stringprep.c 2009-04-04 10:00:25 +0200
  +@@ -25,6 +25,14 @@
    
  - /* size_t limit */
  --#undef SIZE_MAX
  + #include <stdlib.h>
  + #include <string.h>
  ++#include <limits.h>
  ++
  ++#undef size_t
  ++#if 0
   +#ifndef SIZE_MAX
  - #define SIZE_MAX  _STDINT_MAX (0, @BITSIZEOF_SIZE_T@, 0...@size_t_suffix@)
  ++#define SIZE_MAX ((((size_t)1)<<(sizeof(size_t)*8))-1)
  ++#endif
   +#endif
    
  - /* wchar_t limits */
  - #undef WCHAR_MIN
  -Index: configure
  ---- configure.orig   2008-10-28 19:05:45 +0100
  -+++ configure        2008-11-01 11:08:40 +0100
  -@@ -4591,13 +4591,7 @@
  - if $ac_preproc_ok; then
  -   :
  - else
  --  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  --$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  --{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity 
check
  --See \`config.log' for more details." >&5
  --$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  --See \`config.log' for more details." >&2;}
  --   { (exit 1); exit 1; }; }; }
  -+  :
  - fi
  + #include "stringprep.h"
    
  - ac_ext=c
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/libidn/libidn.spec
  ============================================================================
  $ cvs diff -u -r1.58 -r1.59 libidn.spec
  --- openpkg-src/libidn/libidn.spec    1 Nov 2008 10:11:12 -0000       1.58
  +++ openpkg-src/libidn/libidn.spec    4 Apr 2009 08:34:08 -0000       1.59
  @@ -31,8 +31,8 @@
   Class:        BASE
   Group:        DNS
   License:      LGPL
  -Version:      1.11
  -Release:      20081101
  +Version:      1.14
  +Release:      20090404
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/pub/gnu/libidn/libidn-%{version}.tar.gz
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to