Skip to contentSkip to conversation

perl-gd: fix broken patches

PATCH New Francois Perrad 2 participants 2 messages Jul 19, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perl-gd: fix broken patches

in each patch, the 3 trailing lines are lost

---
 package/perl-gd/perl-gd-01-getoptions.patch | 3 +++
 package/perl-gd/perl-gd-02-lgd.patch        | 3 +++
 package/perl-gd/perl-gd-03-force.patch      | 3 +++
 3 files changed, 9 insertions(+)
package/perl-gd/perl-gd-01-getoptions.patch +3 -0
index 7bd7f4f..74f055b 100644
@@ -38,3 +38,6 @@
 -			"lib_xpm_path=s"  => \$lib_xpm_path,
 -			"lib_zlib_path=s" => \$lib_zlib_path,
 -		       );
+ unless ($result) {
+   print STDERR <<END;
+ Usage: perl Makefile.PL [options]
package/perl-gd/perl-gd-02-lgd.patch +3 -0
index bc6cdfc..4a69c2a 100644
@@ -23,3 +23,6 @@
    @$LIBS         = split /\s+/,$libs;
  
 -  push @$LIBS,"-lgd";
+   push @$LIBPATH,"-L$libdir";
+   ($$lib_gd_path = $libdir) =~ s!/[^/]+$!!;
+   $$options      = $features;
package/perl-gd/perl-gd-03-force.patch +3 -0
index 3524865..0a121a9 100644
@@ -27,3 +27,6 @@
 +    my @libs64 = map {my $a = $_; $a=~ s/lib$/lib64/; $a} @LIBPATH;
 +    @LIBPATH = (@LIBPATH,@libs64);
 +  }
+ }
+ 
+ #############################################################################################
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 perl-gd: fix broken patches

Dear Francois Perrad,

Quoted 8 lines · Francois Perrad

in each patch, the 3 trailing lines are lost

---
 package/perl-gd/perl-gd-01-getoptions.patch | 3 +++
 package/perl-gd/perl-gd-02-lgd.patch        | 3 +++
 package/perl-gd/perl-gd-03-force.patch      | 3 +++
 3 files changed, 9 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com