Commit b9dd0c99 authored by Francois Perrad's avatar Francois Perrad Committed by Thomas Petazzoni
Browse files

perl-gd: fix broken patches



in each patch, the 3 trailing lines are lost

Signed-off-by: default avatarFrancois Perrad <francois.perrad@gadz.org>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 9960b957
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -27,3 +27,6 @@ Index: b/Makefile.PL
+    my @libs64 = map {my $a = $_; $a=~ s/lib$/lib64/; $a} @LIBPATH;
+    @LIBPATH = (@LIBPATH,@libs64);
+  }
 }
 
 #############################################################################################