aboutsummaryrefslogtreecommitdiff
path: root/package/perl-gd
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2014-07-19 16:16:48 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-19 16:32:58 +0200
commitb9dd0c99811f5ea3c07c124c8830b2498dd120d9 (patch)
tree6496ddf192c85f4d1c7a3bc073daea215b58bd57 /package/perl-gd
parent9960b957a63e8fdd197d9cef6ea55b1b05c40ec3 (diff)
downloadbuildroot-b9dd0c99811f5ea3c07c124c8830b2498dd120d9.tar.gz
buildroot-b9dd0c99811f5ea3c07c124c8830b2498dd120d9.tar.bz2
perl-gd: fix broken patches
in each patch, the 3 trailing lines are lost Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-gd')
-rw-r--r--package/perl-gd/perl-gd-01-getoptions.patch3
-rw-r--r--package/perl-gd/perl-gd-02-lgd.patch3
-rw-r--r--package/perl-gd/perl-gd-03-force.patch3
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);
+ }
+ }
+
+ #############################################################################################