diff options
Diffstat (limited to 'package/perl-gd')
-rw-r--r-- | package/perl-gd/perl-gd-01-getoptions.patch | 3 | ||||
-rw-r--r-- | package/perl-gd/perl-gd-02-lgd.patch | 3 | ||||
-rw-r--r-- | package/perl-gd/perl-gd-03-force.patch | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/package/perl-gd/perl-gd-01-getoptions.patch b/package/perl-gd/perl-gd-01-getoptions.patch index 7bd7f4f22d..74f055bead 100644 --- a/package/perl-gd/perl-gd-01-getoptions.patch +++ b/package/perl-gd/perl-gd-01-getoptions.patch @@ -38,3 +38,6 @@ Index: b/Makefile.PL - "lib_xpm_path=s" => \$lib_xpm_path, - "lib_zlib_path=s" => \$lib_zlib_path, - ); + unless ($result) { + print STDERR <<END; + Usage: perl Makefile.PL [options] diff --git a/package/perl-gd/perl-gd-02-lgd.patch b/package/perl-gd/perl-gd-02-lgd.patch index bc6cdfcc7a..4a69c2ae8e 100644 --- a/package/perl-gd/perl-gd-02-lgd.patch +++ b/package/perl-gd/perl-gd-02-lgd.patch @@ -23,3 +23,6 @@ Index: b/Makefile.PL @$LIBS = split /\s+/,$libs; - push @$LIBS,"-lgd"; + push @$LIBPATH,"-L$libdir"; + ($$lib_gd_path = $libdir) =~ s!/[^/]+$!!; + $$options = $features; diff --git a/package/perl-gd/perl-gd-03-force.patch b/package/perl-gd/perl-gd-03-force.patch index 352486521d..0a121a994e 100644 --- a/package/perl-gd/perl-gd-03-force.patch +++ b/package/perl-gd/perl-gd-03-force.patch @@ -27,3 +27,6 @@ Index: b/Makefile.PL + my @libs64 = map {my $a = $_; $a=~ s/lib$/lib64/; $a} @LIBPATH; + @LIBPATH = (@LIBPATH,@libs64); + } + } + + ############################################################################################# |