SOURCES: perl-GD-Convert-nocroak.patch - updated to 2.12

maciek2w maciek2w at pld-linux.org
Fri Jun 23 09:54:40 CEST 2006


Author: maciek2w                     Date: Fri Jun 23 07:54:40 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated to 2.12

---- Files affected:
SOURCES:
   perl-GD-Convert-nocroak.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/perl-GD-Convert-nocroak.patch
diff -u SOURCES/perl-GD-Convert-nocroak.patch:1.1 SOURCES/perl-GD-Convert-nocroak.patch:1.2
--- SOURCES/perl-GD-Convert-nocroak.patch:1.1	Mon Dec 15 01:01:58 2003
+++ SOURCES/perl-GD-Convert-nocroak.patch	Fri Jun 23 09:54:35 2006
@@ -1,15 +1,15 @@
---- GD-Convert-2.08/Convert.pm.orig	2003-11-10 23:02:30.000000000 +0100
-+++ GD-Convert-2.08/Convert.pm	2003-12-15 01:04:37.115366632 +0100
-@@ -32,11 +32,7 @@
- 		   ) {
- 		    undef $as;
+--- GD-Convert-2.12/Convert.pm.orig	2005-05-12 22:37:59.000000000 +0200
++++ GD-Convert-2.12/Convert.pm	2006-06-23 09:48:03.000000000 +0200
+@@ -34,11 +34,7 @@
+ 		} elsif ($GD::VERSION >= 2.15) {
+ 		    # hmmm ...
  		} elsif ($GD::VERSION >= 1.40 && !$installed{$f} && GD::Image->can($f)) {
 -		    $@ = "";
--		    GD::Image->new->$f();
+-		    eval { GD::Image->new->$f(); };
 -		    if ($@ !~ /libgd was not built with gif support/) {
 -			undef $as;
 -		    }
-+		    undef $as
++		    undef $as;
  		}
  		# No? Then try alternatives
  		if (defined $as) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/perl-GD-Convert-nocroak.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list