Browse Source

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>
Francois Perrad 11 years ago
parent
commit
b9dd0c9981

+ 3 - 0
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]

+ 3 - 0
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;

+ 3 - 0
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);
 +  }
+ }
+ 
+ #############################################################################################