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

  Server: cvs.openpkg.org                  Name:   Torsten Homeyer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   03-Jun-2004 13:56:57
  Branch: HEAD                             Handle: 2004060312565600

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

  Log:
    Fixed configure to disable readline if only header files but no
    libraries found.

  Summary:
    Revision    Changes     Path
    1.1         +15 -0      openpkg-src/sqlite/sqlite.patch
    1.58        +3  -1      openpkg-src/sqlite/sqlite.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/sqlite/sqlite.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 sqlite.patch
  --- /dev/null 2004-06-03 13:56:57.000000000 +0200
  +++ sqlite.patch      2004-06-03 13:56:57.000000000 +0200
  @@ -0,0 +1,15 @@
  +Index: configure
  +--- configure.orig   2004-06-03 13:36:27.000000000 +0200
  ++++ configure        2004-06-03 13:39:37.000000000 +0200
  +@@ -20450,7 +20450,10 @@
  +   TARGET_HAVE_READLINE=0
  + fi
  + 
  +-
  ++if [ "$ac_cv_lib_readline_readline" = "no" ]
  ++then
  ++    TARGET_HAVE_READLINE=0
  ++fi
  + 
  + #########
  + # Figure out whether or not we have a "usleep()" function.
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sqlite/sqlite.spec
  ============================================================================
  $ cvs diff -u -r1.57 -r1.58 sqlite.spec
  --- openpkg-src/sqlite/sqlite.spec    8 Mar 2004 18:46:45 -0000       1.57
  +++ openpkg-src/sqlite/sqlite.spec    3 Jun 2004 11:56:56 -0000       1.58
  @@ -34,7 +34,7 @@
   Group:        Database
   License:      PD
   Version:      2.8.13
  -Release:      20040308
  +Release:      20040603
   
   #   package options
   %option       with_utf8            no
  @@ -43,6 +43,7 @@
   
   #   list of sources
   Source0:      http://www.hwaci.com/sw/sqlite/sqlite-%{version}.tar.gz
  +Patch0:       sqlite.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -77,6 +78,7 @@
   %prep
       %setup -q -n sqlite
       chmod a+x install-sh
  +    %patch -p0
   
   %build
       CC="%{l_cc}"
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to