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: 16-Nov-2005 20:45:43 Branch: HEAD Handle: 2005111619454300 Added files: openpkg-src/perl-db perl-db.patch Modified files: openpkg-src/perl-db perl-db.spec Log: fix linking of DB_File under Solaris (where OS librt is required because of fdatasync call in OpenPKG's libdb) Summary: Revision Changes Path 1.1 +12 -0 openpkg-src/perl-db/perl-db.patch 1.59 +3 -1 openpkg-src/perl-db/perl-db.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/perl-db/perl-db.patch ============================================================================ $ cvs diff -u -r0 -r1.1 perl-db.patch --- /dev/null 2005-11-16 20:45:33 +0100 +++ perl-db.patch 2005-11-16 20:45:43 +0100 @@ -0,0 +1,12 @@ +Index: DB_File-1.814/Makefile.PL +--- DB_File-1.814/Makefile.PL.orig 2005-11-16 20:34:27.731275036 +0100 ++++ DB_File-1.814/Makefile.PL 2005-11-16 20:40:58.010193923 +0100 +@@ -29,7 +29,7 @@ + } + + # Solaris is special. +-#$LIBS .= " -lthread" if $^O eq 'solaris' ; ++$LIBS .= " -lrt" if $^O eq 'solaris' ; + + # AIX is special. + $LIBS .= " -lpthread" if $^O eq 'aix' ; @@ . patch -p0 <<'@@ .' Index: openpkg-src/perl-db/perl-db.spec ============================================================================ $ cvs diff -u -r1.58 -r1.59 perl-db.spec --- openpkg-src/perl-db/perl-db.spec 12 Nov 2005 18:42:37 -0000 1.58 +++ openpkg-src/perl-db/perl-db.spec 16 Nov 2005 19:45:43 -0000 1.59 @@ -39,12 +39,13 @@ Group: Language License: GPL/Artistic Version: %{V_perl} -Release: 20051112 +Release: 20051116 # list of sources Source0: http://www.cpan.org/modules/by-module/BerkeleyDB/BerkeleyDB-%{V_berkeleydb}.tar.gz Source1: http://www.cpan.org/modules/by-module/DB_File/DB_File-%{V_db_file}.tar.gz Source2: http://www.cpan.org/modules/by-module/DB_File/DB_File-Lock-%{V_db_file_lock}.tar.gz +Patch0: perl-db.patch # build information Prefix: %{l_prefix} @@ -83,6 +84,7 @@ %setup -q -c %setup -q -T -D -a 1 %setup -q -T -D -a 2 + %patch -p0 %build @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org