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 openpkg-web          Date:   06-Jul-2003 08:11:28
  Branch: HEAD                             Handle: 2003070607112601

  Added files:
    openpkg-src/cvstrac     cvstrac.patch
  Modified files:
    openpkg-src/cvstrac     cvstrac.spec
    openpkg-web             news.txt

  Log:
    fix building under new SQLite

  Summary:
    Revision    Changes     Path
    1.1         +15 -0      openpkg-src/cvstrac/cvstrac.patch
    1.22        +7  -5      openpkg-src/cvstrac/cvstrac.spec
    1.5278      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/cvstrac/cvstrac.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 cvstrac.patch
  --- /dev/null 2003-07-06 08:11:27.000000000 +0200
  +++ cvstrac.patch     2003-07-06 08:11:28.000000000 +0200
  @@ -0,0 +1,15 @@
  +--- db.c.orig        Mon Dec  9 16:16:03 2002
  ++++ db.c     Sun Jul  6 08:09:25 2003
  +@@ -32,12 +32,6 @@
  + #include "db.h"
  + 
  + /*
  +-** This function is not an official part of the SQLite API and does
  +-** not appear in <sqlite.h>.  So we have to supply our own prototype.
  +-*/
  +-extern char *sqlite_vmprintf(const char *, ...);
  +-
  +-/*
  + ** The following is the handle to the open database.
  + */
  + static sqlite *pDb = 0;
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/cvstrac/cvstrac.spec
  ============================================================================
  $ cvs diff -u -r1.21 -r1.22 cvstrac.spec
  --- openpkg-src/cvstrac/cvstrac.spec  19 Feb 2003 13:09:50 -0000      1.21
  +++ openpkg-src/cvstrac/cvstrac.spec  6 Jul 2003 06:11:27 -0000       1.22
  @@ -33,16 +33,17 @@
   Group:        Database
   License:      GPL
   Version:      1.1.2
  -Release:      20030219
  +Release:      20030706
   
   #   list of sources
   Source0:      http://www.hwaci.com/sw/cvstrac/cvstrac-%{version}.tar.gz
   Source1:      cvstrac.cgi
  +Patch0:       cvstrac.patch
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20020416, make, gcc, sqlite
  +BuildPreReq:  OpenPKG, openpkg >= 20020416, make, gcc, sqlite >= 2.8.4
   PreReq:       OpenPKG, openpkg >= 20020416, cvs, rcs
   AutoReq:      no
   AutoReqProv:  no
  @@ -55,6 +56,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       libs="-lsqlite -lcrypt"
  @@ -63,9 +65,9 @@
       esac
       %{l_make} %{l_mflags} -f main.mk \
           SRCDIR=`pwd` \
  -        BCC="%{l_cc} %{l_cflags -O} -I%{l_prefix}/include" \
  -        TCC="%{l_cc} %{l_cflags -O} -I%{l_prefix}/include" \
  -        LIBSQLITE="-L%{l_prefix}/lib $libs" \
  +        BCC="%{l_cc} %{l_cflags -O} %{l_cppflags}" \
  +        TCC="%{l_cc} %{l_cflags -O} %{l_cppflags}" \
  +        LIBSQLITE="%{l_ldflags} $libs" \
           E=""
   
   %install
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5277 -r1.5278 news.txt
  --- openpkg-web/news.txt      5 Jul 2003 21:12:19 -0000       1.5277
  +++ openpkg-web/news.txt      6 Jul 2003 06:11:26 -0000       1.5278
  @@ -1,3 +1,4 @@
  +06-Jul-2003: Upgraded package: P<cvstrac-1.1.2-20030706>
   05-Jul-2003: Upgraded package: P<perl-crypto-20030705-20030705>
   05-Jul-2003: Upgraded package: P<vim-6.2.21-20030705>
   05-Jul-2003: Upgraded package: P<multitail-2.9-20030705>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to