Hello community,

here is the log from the commit of package SDL2_image for openSUSE:Factory 
checked in at 2013-09-25 17:20:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old)
 and      /work/SRC/openSUSE:Factory/.SDL2_image.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "SDL2_image"

Changes:
--------
--- /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image.changes    2013-09-11 
15:47:21.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image.changes       
2013-09-25 17:20:15.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 12 10:42:27 UTC 2013 - dval...@suse.com
+
+- Fix undefined s on BigEndian platforms (bigendian_undefined_s.patch) 
+
+-------------------------------------------------------------------

New:
----
  bigendian_undefined_s.patch

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

Other differences:
------------------
++++++ SDL2_image.spec ++++++
--- /var/tmp/diff_new_pack.UKmAo9/_old  2013-09-25 17:20:16.000000000 +0200
+++ /var/tmp/diff_new_pack.UKmAo9/_new  2013-09-25 17:20:16.000000000 +0200
@@ -28,6 +28,7 @@
 #Hg-Clone:     http://hg.libsdl.org/SDL_image/
 Source:         
http://libsdl.org/projects/SDL_image/release/%name-%version.tar.gz
 Source2:        baselibs.conf
+Patch0:         bigendian_undefined_s.patch
 BuildRequires:  libSDL2-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtiff-devel
@@ -65,6 +66,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 rm -rf external
 
 %build

++++++ bigendian_undefined_s.patch ++++++
From: Dinar Valeev <dval...@suse.com>
Date: Thu, 12 Sep 2013 12:51:31 +0200

build: resolve compile abort on big-endian platforms

s was not declared.

Addition by jengelh: Make it unsigned, because that is the
only thing to make sense with the >> operator.

Index: SDL2_image-2.0.0/IMG_webp.c
===================================================================
--- SDL2_image-2.0.0.orig/IMG_webp.c
+++ SDL2_image-2.0.0/IMG_webp.c
@@ -242,6 +242,7 @@ SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops *
     Bmask = 0x00FF0000;
     Amask = (features.has_alpha) ? 0xFF000000 : 0;
 #else
+    unsigned int s;
     s = (features.has_alpha) ? 0 : 8;
     Rmask = 0xFF000000 >> s;
     Gmask = 0x00FF0000 >> s;
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to