Hello community,

here is the log from the commit of package geeqie for openSUSE:Factory checked 
in at 2013-01-10 11:11:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/geeqie (Old)
 and      /work/SRC/openSUSE:Factory/.geeqie.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "geeqie", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/geeqie/geeqie.changes    2012-09-23 
19:33:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.geeqie.new/geeqie.changes       2013-01-10 
11:11:42.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Dec 28 11:53:06 UTC 2012 - dval...@suse.com
+
+- Add geeqie-bigendian.patch: fix bigendian build.
+
+-------------------------------------------------------------------

New:
----
  geeqie-bigendian.patch

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

Other differences:
------------------
++++++ geeqie.spec ++++++
--- /var/tmp/diff_new_pack.AZbeNf/_old  2013-01-10 11:11:43.000000000 +0100
+++ /var/tmp/diff_new_pack.AZbeNf/_new  2013-01-10 11:11:43.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package geeqie
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@
 ## FIXME - Check on version update if support for the libchamplain we have in 
factory is finaly supported, last checked version 1.1
 Url:            http://geeqie.sourceforge.net/
 Source:         
http://downloads.sourceforge.net/project/geeqie/geeqie/geeqie-1.1/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM geeqie-bigendian.patch dval...@suse.com -- Fix build on 
big endian systems. Taken from upstream commit c6793b7
+Patch0:         geeqie-bigendian.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gnome-doc-utils
@@ -50,6 +52,7 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \

++++++ geeqie-bigendian.patch ++++++
Index: geeqie-1.1/src/image_load_tiff.c
===================================================================
--- geeqie-1.1.orig/src/image_load_tiff.c
+++ geeqie-1.1/src/image_load_tiff.c
@@ -326,18 +326,21 @@ static gboolean image_loader_tiff_load (
                /* Turns out that the packing used by TIFFRGBAImage depends on 
                 * the host byte order... 
                 */ 
-               while (pixels < pixbuf->pixels + bytes) 
+               {
+               guchar *ptr = pixels;
+               while (ptr < pixels + bytes)
                        {
-                       uint32 pixel = *(uint32 *)pixels;
+                       uint32 pixel = *(uint32 *)ptr;
                        int r = TIFFGetR(pixel);
                        int g = TIFFGetG(pixel);
                        int b = TIFFGetB(pixel);
                        int a = TIFFGetA(pixel);
-                       *pixels++ = r;
-                       *pixels++ = g;
-                       *pixels++ = b;
-                       *pixels++ = a;
+                       *ptr++ = r;
+                       *ptr++ = g;
+                       *ptr++ = b;
+                       *ptr++ = a;
                        }
+               }
 #endif
 
                lt->area_updated_cb(loader, 0, 0, width, height, lt->data);
@@ -419,4 +422,4 @@ void image_loader_backend_set_tiff(Image
 
 
 
-#endif
\ No newline at end of file
+#endif
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to