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:   23-Sep-2005 14:45:12
  Branch: HEAD                             Handle: 2005092313451200

  Added files:
    openpkg-src/xdelta      xdelta.patch
  Modified files:
    openpkg-src/xdelta      xdelta.spec

  Log:
    fix building under new GCC 4.0 world order

  Summary:
    Revision    Changes     Path
    1.1         +12 -0      openpkg-src/xdelta/xdelta.patch
    1.36        +3  -1      openpkg-src/xdelta/xdelta.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/xdelta/xdelta.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 xdelta.patch
  --- /dev/null 2005-09-23 14:45:10 +0200
  +++ xdelta.patch      2005-09-23 14:45:12 +0200
  @@ -0,0 +1,12 @@
  +Index: xdmain.c
  +--- xdmain.c.orig    2001-09-24 08:59:18 +0200
  ++++ xdmain.c 2005-09-23 14:43:23 +0200
  +@@ -64,7 +64,7 @@
  + 
  + #include "xdelta.h"
  + 
  +-extern HandleFuncTable xd_handle_table;
  ++static HandleFuncTable xd_handle_table;
  + 
  + #define XD_PAGE_SIZE (1<<20)
  + 
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/xdelta/xdelta.spec
  ============================================================================
  $ cvs diff -u -r1.35 -r1.36 xdelta.spec
  --- openpkg-src/xdelta/xdelta.spec    24 Mar 2005 11:20:44 -0000      1.35
  +++ openpkg-src/xdelta/xdelta.spec    23 Sep 2005 12:45:12 -0000      1.36
  @@ -37,7 +37,7 @@
   Group:        SCM
   License:      GPL
   Version:      %{V_v1}
  -Release:      20050308
  +Release:      20050923
   
   #   package options
   %option       with_v3  no
  @@ -45,6 +45,7 @@
   #   list of sources
   Source0:      http://osdn.dl.sourceforge.net/xdelta/xdelta-%{V_v1}.tar.gz
   Source1:      http://xdelta.org/xdelta%{V_v3}.tar.gz
  +Patch0:       xdelta.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -73,6 +74,7 @@
   
   %prep
       %setup -q -c
  +    %patch -p0 -d xdelta-%{V_v1}
   %if "%{with_v3}" == "yes"
       %setup -q -D -T -a 1
   %endif
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to