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:   02-Mar-2007 10:36:37
  Branch: HEAD                             Handle: 2007030209363700

  Modified files:
    openpkg-src/milter-sid  milter-sid.patch milter-sid.spec

  Log:
    unbreak under runtime (version mismatch) by including the OpenPKG (and
    not the system) MILTER API

  Summary:
    Revision    Changes     Path
    1.2         +10 -1      openpkg-src/milter-sid/milter-sid.patch
    1.5         +3  -1      openpkg-src/milter-sid/milter-sid.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/milter-sid/milter-sid.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 milter-sid.patch
  --- openpkg-src/milter-sid/milter-sid.patch   30 Dec 2006 12:50:01 -0000      
1.1
  +++ openpkg-src/milter-sid/milter-sid.patch   2 Mar 2007 09:36:37 -0000       
1.2
  @@ -1,6 +1,15 @@
   Index: sid-filter/sid-filter.c
   --- sid-filter/sid-filter.c.orig     2006-07-21 00:28:09 +0200
  -+++ sid-filter/sid-filter.c  2006-12-30 13:48:35 +0100
  ++++ sid-filter/sid-filter.c  2007-03-02 10:35:06 +0100
  +@@ -57,7 +57,7 @@
  + 
  + /* libmilter includes */
  + #ifndef DEBUG
  +-# include <libmilter/mfapi.h>
  ++# include "milter/mfapi.h"
  + #endif /* !DEBUG */
  + 
  + /* libmarid includes */
   @@ -1949,6 +1949,12 @@
        assert(ctx != NULL);
    #endif /* !DEBUG */
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/milter-sid/milter-sid.spec
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 milter-sid.spec
  --- openpkg-src/milter-sid/milter-sid.spec    1 Jan 2007 17:39:47 -0000       
1.4
  +++ openpkg-src/milter-sid/milter-sid.spec    2 Mar 2007 09:36:37 -0000       
1.5
  @@ -33,7 +33,7 @@
   Group:        Mail
   License:      Open Source
   Version:      0.2.14
  -Release:      20061231
  +Release:      20070302
   
   #   package options
   %option       with_fsl  yes
  @@ -42,6 +42,7 @@
   Source0:      
http://switch.dl.sourceforge.net/sid-milter/sid-milter-%{version}.tar.gz
   Source1:      rc.milter-sid
   Source2:      fsl.milter-sid
  +Patch0:       milter-sid.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -70,6 +71,7 @@
   
   %prep
       %setup -q -n sid-milter-%{version}
  +    %patch -p0
   
   %build
       extlibs="%{l_fsl_libs}"
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to