File: fix_ftbfs_big_endian.patch

package info (click to toggle)
libsdl2-image 2.0.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 1,836 kB
  • sloc: sh: 10,011; ansic: 9,489; makefile: 89
file content (14 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 ) {