[Pkg-sdl-commits] [libsdl2-image] 02/03: Fix FTBFS on big endian architectures.

Felix Geyer fgeyer at alioth.debian.org
Sun Aug 25 09:49:28 UTC 2013


This is an automated email from the git hooks/post-receive script.

fgeyer pushed a commit to branch master
in repository libsdl2-image.

commit e8a3d02a621b09221170fc82e10cd285db0cf9a4
Author: Felix Geyer <fgeyer at debian.org>
Date:   Sun Aug 25 11:25:22 2013 +0200

    Fix FTBFS on big endian architectures.
---
 debian/changelog                          |    2 ++
 debian/patches/fix_ftbfs_big_endian.patch |   14 ++++++++++++++
 debian/patches/series                     |    1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 10d0247..ed44a94 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ libsdl2-image (2.0.0+dfsg-2) UNRELEASED; urgency=low
 
   * Tighten libsdl2-dev dependency to 2.0.0 and bump the shlibver to 2.0.0,
     thanks to Gianfranco Costamagna for the patch.
+  * Fix FTBFS on big endian architectures.
+    - Add fix_ftbfs_big_endian.patch
 
  -- Felix Geyer <fgeyer at debian.org>  Sun, 25 Aug 2013 11:17:02 +0200
 
diff --git a/debian/patches/fix_ftbfs_big_endian.patch b/debian/patches/fix_ftbfs_big_endian.patch
new file mode 100644
index 0000000..2286973
--- /dev/null
+++ b/debian/patches/fix_ftbfs_big_endian.patch
@@ -0,0 +1,14 @@
+Description: Fix FTBFS on big endian architectures.
+Bug: https://bugzilla.libsdl.org/show_bug.cgi?id=2063
+
+--- a/IMG_webp.c
++++ b/IMG_webp.c
+@@ -186,7 +186,7 @@ SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops *src)
+     WebPBitstreamFeatures features;
+     int raw_data_size;
+     uint8_t *raw_data = NULL;
+-    int r;
++    int r, s;
+     uint8_t *ret;
+ 
+     if ( !src ) {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d2ed114
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_ftbfs_big_endian.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/libsdl2-image.git



More information about the pkg-sdl-commits mailing list