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:   17-Jul-2008 10:00:11
  Branch: HEAD                             Handle: 2008071709000900

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

  Log:
    fix run-time under FreeBSD 7/8

  Summary:
    Revision    Changes     Path
    1.3         +12 -0      openpkg-src/uuid/uuid.patch
    1.47        +3  -1      openpkg-src/uuid/uuid.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/uuid/uuid.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.3 uuid.patch
  --- /dev/null 2008-07-17 10:00:10 +0200
  +++ uuid.patch        2008-07-17 10:00:10 +0200
  @@ -0,0 +1,12 @@
  +Index: perl/Makefile.PL
  +--- perl/Makefile.PL.orig    2007-01-01 19:13:18 +0100
  ++++ perl/Makefile.PL 2008-07-17 09:58:04 +0200
  +@@ -61,7 +61,7 @@
  +     NO_META           => 1,
  +     #    cruel hack to workaround the conflict between OSSP uuid's
  +     #    uuid_create() function and one from FreeBSD's libc
  +-    ((   "$Config{'osname'}$Config{'osvers'}" =~ m/^freebsd[56]\./
  ++    ((   "$Config{'osname'}$Config{'osvers'}" =~ m/^freebsd[5-8]\./
  +       and $Config{'ld'} =~ m/cc$/ and -f "/usr/include/uuid.h") ?
  +       ( LDDLFLAGS => $Config{'lddlflags'} . ' -Wl,-Bsymbolic') : ())
  + );
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/uuid/uuid.spec
  ============================================================================
  $ cvs diff -u -r1.46 -r1.47 uuid.spec
  --- openpkg-src/uuid/uuid.spec        4 Jul 2008 21:59:02 -0000       1.46
  +++ openpkg-src/uuid/uuid.spec        17 Jul 2008 08:00:09 -0000      1.47
  @@ -32,7 +32,7 @@
   Group:        Libraries
   License:      MIT/X11-style
   Version:      1.6.2
  -Release:      20080704
  +Release:      20080717
   
   #   package options
   %option       with_dce   no
  @@ -43,6 +43,7 @@
   
   #   list of sources
   Source0:      ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
  +Patch0:       uuid.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -95,6 +96,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to