RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  [EMAIL PROTECTED]
  Module: rpm                              Date:   12-Nov-2007 11:55:48
  Branch: HEAD                             Handle: 2007111210554800

  Modified files:
    rpm                     CHANGES configure.ac

  Log:
    fix building against external Berkeley-DB under Solaris (where -lrt is
    required)

  Summary:
    Revision    Changes     Path
    1.1809      +1  -0      rpm/CHANGES
    2.248       +5  -0      rpm/configure.ac
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.1808 -r1.1809 CHANGES
  --- rpm/CHANGES       12 Nov 2007 08:04:04 -0000      1.1808
  +++ rpm/CHANGES       12 Nov 2007 10:55:48 -0000      1.1809
  @@ -1,4 +1,5 @@
   5.0a1 -> 5.0a2:
  +    - rse: fix building against external Berkeley-DB under Solaris (where 
-lrt is required)
       - rse: fix distribution tarball by adding the missing 
misc/librpmmisc.vers
       - jbj: hmmm, tagno's 261 and 269 are fishy, skip tagTypeValidate for now.
       - jbj: add tagTypeValidate sanity check before flipping to implicit 
typing.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/configure.ac
  ============================================================================
  $ cvs diff -u -r2.247 -r2.248 configure.ac
  --- rpm/configure.ac  11 Nov 2007 15:05:17 -0000      2.247
  +++ rpm/configure.ac  12 Nov 2007 10:55:48 -0000      2.248
  @@ -495,6 +495,11 @@
   AC_CHECK_FUNC(getdomainname, [], [ AC_CHECK_LIB(nsl, getdomainname) ])
   AC_CHECK_FUNC(socket,        [], [ AC_CHECK_LIB(socket, socket) ])
   
  +dnl # specific functions (for linking against *external* Berkeley-DB under 
Solaris)
  +AC_CHECK_FUNC(fdatasync,     [], [ AC_CHECK_LIB(rt, fdatasync) ])
  +AC_CHECK_FUNC(sched_yield,   [], [ AC_CHECK_LIB(rt, sched_yield) ])
  +AC_CHECK_FUNC(clock_gettime, [], [ AC_CHECK_LIB(rt, clock_gettime) ])
  +
   dnl # specific functions (generic)
   AC_CHECK_FUNCS(vsnprintf snprintf)
   
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to