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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   16-May-2006 09:23:05
  Branch: HEAD                             Handle: 2006051608230500

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

  Log:
    fix static vs. extern issue under GCC 4.0

  Summary:
    Revision    Changes     Path
    1.2         +16 -0      openpkg-src/cryptlib/cryptlib.patch
    1.5         +1  -1      openpkg-src/cryptlib/cryptlib.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/cryptlib/cryptlib.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 cryptlib.patch
  --- openpkg-src/cryptlib/cryptlib.patch       6 Sep 2005 19:18:58 -0000       
1.1
  +++ openpkg-src/cryptlib/cryptlib.patch       16 May 2006 07:23:05 -0000      
1.2
  @@ -11,3 +11,19 @@
    #include "crypt.h"
    
    /* Unix and Unix-like systems share the same makefile, make sure that the
  +Index: cert/ext_def.c
  +--- cert/ext_def.c.orig      2005-08-14 22:34:44 +0200
  ++++ cert/ext_def.c   2006-05-16 09:20:41 +0200
  +@@ -116,9 +116,9 @@
  +    highest warning level enabled, this produces a compiler warning, so we
  +    turn the warning off for this module */
  + 
  +-extern const ATTRIBUTE_INFO FAR_BSS generalNameInfo[];
  +-extern const ATTRIBUTE_INFO FAR_BSS holdInstructionInfo[];
  +-extern const ATTRIBUTE_INFO FAR_BSS contentTypeInfo[];
  ++static const ATTRIBUTE_INFO FAR_BSS generalNameInfo[];
  ++static const ATTRIBUTE_INFO FAR_BSS holdInstructionInfo[];
  ++static const ATTRIBUTE_INFO FAR_BSS contentTypeInfo[];
  + 
  + #if defined( _MSC_VER )
  +   #pragma warning( disable: 4211 )
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/cryptlib/cryptlib.spec
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 cryptlib.spec
  --- openpkg-src/cryptlib/cryptlib.spec        1 Jan 2006 13:12:46 -0000       
1.4
  +++ openpkg-src/cryptlib/cryptlib.spec        16 May 2006 07:23:05 -0000      
1.5
  @@ -37,7 +37,7 @@
   Group:        Cryptography
   License:      MIT-style
   Version:      %{V_full}
  -Release:      20050906
  +Release:      20060516
   
   #   list of sources
   Source0:      ftp://ftp.franken.de/pub/crypt/cryptlib/cl%{V_comp}.zip
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to