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

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   24-Jun-2004 16:45:51
  Branch: HEAD                             Handle: -NONE-

  Modified files:
    openpkg-src/db          db.spec

  Log:
    resolve missing __udivdi3 symbol the hard way transplanting _udivdi3.o
    from libgcc.a into libdb.a, ensuring gcc-built libdb can be used by
    packages that do not require gcc for building (i.e. apache2)

  Summary:
    Revision    Changes     Path
    1.47        +0  -0      openpkg-src/db/db.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/db/db.spec
  ============================================================================
  $ cvs diff -u -r1.46 -r1.47 db.spec
  --- openpkg-src/db/db.spec    13 May 2004 18:16:42 -0000      1.46
  +++ openpkg-src/db/db.spec    24 Jun 2004 14:45:50 -0000      1.47
  @@ -38,7 +38,7 @@
   Group:        Database
   License:      BSD
   Version:      %{V_version}.%{V_revision}
  -Release:      20040513
  +Release:      20040624
   
   #   package options
   %option       with_compat no
  @@ -84,6 +84,9 @@
       %patch -p0
       %patch -p0 -P 1
       %patch -p0 -P 2
  +    %{l_shtool} subst \
  +        -e 's;\($(ar) cr .*\);\1 _udivdi3.o;' \
  +        dist/Makefile.in
   
   %build
       mutex="no"
  @@ -97,6 +100,7 @@
           *        ) mutex="UNIX/fcntl"         ;;
       esac
       cd build_unix
  +    ar -vx `%{l_cc} -print-libgcc-file-name` _udivdi3.o
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
   %if "%{with_cxx}" == "yes"
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to