Hello community,

here is the log from the commit of package perl-Image-Size for openSUSE:Factory 
checked in at 2015-04-21 10:51:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Image-Size (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Image-Size.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Image-Size"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Image-Size/perl-Image-Size.changes  
2015-04-16 14:14:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Image-Size.new/perl-Image-Size.changes     
2015-04-21 10:51:46.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Apr 17 10:12:00 UTC 2015 - [email protected]
+
+- endian.patch: use proper endian-agnostic extractor
+
+-------------------------------------------------------------------

New:
----
  endian.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Image-Size.spec ++++++
--- /var/tmp/diff_new_pack.Z0QJ0w/_old  2015-04-21 10:51:47.000000000 +0200
+++ /var/tmp/diff_new_pack.Z0QJ0w/_new  2015-04-21 10:51:47.000000000 +0200
@@ -27,6 +27,7 @@
 Url:            http://search.cpan.org/dist/Image-Size/
 Source0:        
http://www.cpan.org/authors/id/R/RJ/RJRAY/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
+Patch0:         endian.patch
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+%patch0 -p1
 find . -type f -print0 | xargs -0 chmod 644
 
 %build

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.Z0QJ0w/_old  2015-04-21 10:51:47.000000000 +0200
+++ /var/tmp/diff_new_pack.Z0QJ0w/_new  2015-04-21 10:51:47.000000000 +0200
@@ -4,7 +4,8 @@
 #sources:
 #  - source1
 #  - source2
-#patches:
+patches:
+   endian.patch: -p1
 #  foo.patch: -p1
 #  bar.patch:
 #preamble: |-

++++++ endian.patch ++++++
Index: Image-Size-3.300/lib/Image/Size.pm
===================================================================
--- Image-Size-3.300.orig/lib/Image/Size.pm
+++ Image-Size-3.300/lib/Image/Size.pm
@@ -933,7 +933,7 @@ sub webpsize {
     #    - frame meta, 8 bytes
     #    - marker, 3 bytes
     my $buf = $READ_IN->($img, 4, 26);
-    my ($raw_w, $raw_h) = unpack 'SS', $buf;
+    my ($raw_w, $raw_h) = unpack '(SS)<', $buf;
     my $b14 = 2**14 - 1;
 
     # The width and height values contain a 2-bit scaling factor,

Reply via email to