Correct use of nonportable u_int types and update to new vendor versions.

Mon, 01 Jul 2013 21:22:40 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 01 Jul 2013 21:22:40 +0200
changeset 779
8a3648cce554
parent 778
389c33ef5a93
child 780
0a61f30eebd4

Correct use of nonportable u_int types and update to new vendor versions.

perl-db/perl-db.patch file | annotate | diff | comparison | revisions
perl-db/perl-db.spec file | annotate | diff | comparison | revisions
     1.1 --- a/perl-db/perl-db.patch	Mon Jul 01 21:20:32 2013 +0200
     1.2 +++ b/perl-db/perl-db.patch	Mon Jul 01 21:22:40 2013 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4 -Index: BerkeleyDB-0.52/Makefile.PL
     1.5 ---- BerkeleyDB-0.51/Makefile.PL.orig	2005-08-31 23:30:09.000000000 +0200
     1.6 -+++ BerkeleyDB-0.51/Makefile.PL	2005-11-16 20:50:32.640927202 +0100
     1.7 +Index: BerkeleyDB-0.51/Makefile.PL
     1.8 +--- BerkeleyDB-0.52/Makefile.PL.orig	2005-08-31 23:30:09.000000000 +0200
     1.9 ++++ BerkeleyDB-0.52/Makefile.PL	2005-11-16 20:50:32.640927202 +0100
    1.10  @@ -32,6 +32,9 @@
    1.11   else {
    1.12       if ($^O eq 'MSWin32')
    1.13 @@ -11,9 +11,9 @@
    1.14       elsif ($^O =~ /aix/i )  {
    1.15         $LIBS .= '-ldb -lpthread ';
    1.16         if ($Config{'cc'} eq 'gcc' && $Config{'osvers'} eq '5.1')
    1.17 -Index: DB_File-1.828/Makefile.PL
    1.18 ---- DB_File-1.826/Makefile.PL.orig	2005-08-31 23:29:18.000000000 +0200
    1.19 -+++ DB_File-1.826/Makefile.PL	2005-11-16 20:50:32.640641367 +0100
    1.20 +Index: DB_File-1.826/Makefile.PL
    1.21 +--- DB_File-1.828/Makefile.PL.orig	2005-08-31 23:29:18.000000000 +0200
    1.22 ++++ DB_File-1.828/Makefile.PL	2005-11-16 20:50:32.640641367 +0100
    1.23  @@ -29,7 +29,7 @@
    1.24   }
    1.25   
     2.1 --- a/perl-db/perl-db.spec	Mon Jul 01 21:20:32 2013 +0200
     2.2 +++ b/perl-db/perl-db.spec	Mon Jul 01 21:22:40 2013 +0200
     2.3 @@ -23,9 +23,9 @@
     2.4  
     2.5  #   versions of individual parts
     2.6  %define       V_perl           5.16
     2.7 -%define       V_berkeleydb     0.51
     2.8 -%define       V_bdb            1.89
     2.9 -%define       V_db_file        1.826
    2.10 +%define       V_berkeleydb     0.52
    2.11 +%define       V_bdb            1.9
    2.12 +%define       V_db_file        1.828
    2.13  %define       V_db_file_lock   0.05
    2.14  
    2.15  #   package information
    2.16 @@ -96,6 +96,24 @@
    2.17      %setup -q -T -D -a 2
    2.18      %setup -q -T -D -a 3
    2.19      %patch -p0
    2.20 +    %{l_shtool} subst \
    2.21 +        -e 's;u_int\([0-9]*\)_t;uint\1_t;g' \
    2.22 +        BerkeleyDB-*/BerkeleyDB.xs \
    2.23 +        BerkeleyDB-*/BerkeleyDB.xs \
    2.24 +        BerkeleyDB-*/typemap \
    2.25 +        BerkeleyDB-*/typemap \
    2.26 +        BerkeleyDB-*/BerkeleyDB.c \
    2.27 +        BerkeleyDB-*/BerkeleyDB.c \
    2.28 +        BDB-*/BDB.xs \
    2.29 +        BDB-*/BDB.xs \
    2.30 +        DB_File-*/README \
    2.31 +        DB_File-*/README \
    2.32 +        DB_File-*/config.in \
    2.33 +        DB_File-*/config.in \
    2.34 +        DB_File-*/typemap \
    2.35 +        DB_File-*/typemap \
    2.36 +        DB_File-*/DB_File.xs \
    2.37 +        DB_File-*/DB_File.xs
    2.38  
    2.39  %build
    2.40  

mercurial