# HG changeset patch # User Michael Schloh von Bennewitz # Date 1372706560 -7200 # Node ID 8a3648cce554f9e53f797c8c95e474d53cfe74e8 # Parent 389c33ef5a93560a38edde101e79b6b65c411621 Correct use of nonportable u_int types and update to new vendor versions. diff -r 389c33ef5a93 -r 8a3648cce554 perl-db/perl-db.patch --- a/perl-db/perl-db.patch Mon Jul 01 21:20:32 2013 +0200 +++ b/perl-db/perl-db.patch Mon Jul 01 21:22:40 2013 +0200 @@ -1,6 +1,6 @@ -Index: BerkeleyDB-0.52/Makefile.PL ---- BerkeleyDB-0.51/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200 -+++ BerkeleyDB-0.51/Makefile.PL 2005-11-16 20:50:32.640927202 +0100 +Index: BerkeleyDB-0.51/Makefile.PL +--- BerkeleyDB-0.52/Makefile.PL.orig 2005-08-31 23:30:09.000000000 +0200 ++++ BerkeleyDB-0.52/Makefile.PL 2005-11-16 20:50:32.640927202 +0100 @@ -32,6 +32,9 @@ else { if ($^O eq 'MSWin32') @@ -11,9 +11,9 @@ elsif ($^O =~ /aix/i ) { $LIBS .= '-ldb -lpthread '; if ($Config{'cc'} eq 'gcc' && $Config{'osvers'} eq '5.1') -Index: DB_File-1.828/Makefile.PL ---- DB_File-1.826/Makefile.PL.orig 2005-08-31 23:29:18.000000000 +0200 -+++ DB_File-1.826/Makefile.PL 2005-11-16 20:50:32.640641367 +0100 +Index: DB_File-1.826/Makefile.PL +--- DB_File-1.828/Makefile.PL.orig 2005-08-31 23:29:18.000000000 +0200 ++++ DB_File-1.828/Makefile.PL 2005-11-16 20:50:32.640641367 +0100 @@ -29,7 +29,7 @@ } diff -r 389c33ef5a93 -r 8a3648cce554 perl-db/perl-db.spec --- a/perl-db/perl-db.spec Mon Jul 01 21:20:32 2013 +0200 +++ b/perl-db/perl-db.spec Mon Jul 01 21:22:40 2013 +0200 @@ -23,9 +23,9 @@ # versions of individual parts %define V_perl 5.16 -%define V_berkeleydb 0.51 -%define V_bdb 1.89 -%define V_db_file 1.826 +%define V_berkeleydb 0.52 +%define V_bdb 1.9 +%define V_db_file 1.828 %define V_db_file_lock 0.05 # package information @@ -96,6 +96,24 @@ %setup -q -T -D -a 2 %setup -q -T -D -a 3 %patch -p0 + %{l_shtool} subst \ + -e 's;u_int\([0-9]*\)_t;uint\1_t;g' \ + BerkeleyDB-*/BerkeleyDB.xs \ + BerkeleyDB-*/BerkeleyDB.xs \ + BerkeleyDB-*/typemap \ + BerkeleyDB-*/typemap \ + BerkeleyDB-*/BerkeleyDB.c \ + BerkeleyDB-*/BerkeleyDB.c \ + BDB-*/BDB.xs \ + BDB-*/BDB.xs \ + DB_File-*/README \ + DB_File-*/README \ + DB_File-*/config.in \ + DB_File-*/config.in \ + DB_File-*/typemap \ + DB_File-*/typemap \ + DB_File-*/DB_File.xs \ + DB_File-*/DB_File.xs %build