[renpy] 01/02: Add IMG_savepng.c.patch and fix FTBFS on Big-endian architectures.

Markus Koschany apo-guest at moszumanska.debian.org
Tue Jan 26 17:05:16 UTC 2016


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

apo-guest pushed a commit to branch master
in repository renpy.

commit 4129edd4827c1fbb1e16dd49e3c575fec5fc46e9
Author: Markus Koschany <apo at debian.org>
Date:   Tue Jan 26 17:53:33 2016 +0100

    Add IMG_savepng.c.patch and fix FTBFS on Big-endian architectures.
---
 debian/patches/IMG_savepng.c.patch | 21 +++++++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/IMG_savepng.c.patch b/debian/patches/IMG_savepng.c.patch
new file mode 100644
index 0000000..09d8b90
--- /dev/null
+++ b/debian/patches/IMG_savepng.c.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at debian.org>
+Date: Tue, 26 Jan 2016 17:50:23 +0100
+Subject: IMG_savepng.c
+
+---
+ module/IMG_savepng.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/module/IMG_savepng.c b/module/IMG_savepng.c
+index cef5490..0ce6421 100644
+--- a/module/IMG_savepng.c
++++ b/module/IMG_savepng.c
+@@ -133,7 +133,7 @@ int IMG_SavePNG_RW(SDL_RWops *src, SDL_Surface *surf,int compression){
+ 	}
+ #else
+ 	if (fmt->Amask) {
+-		target_format = SDL_PIXELFORMAT_RGBA8888
++		target_format = SDL_PIXELFORMAT_RGBA8888;
+ 	} else {
+ 		target_format = SDL_PIXELFORMAT_RGB888;
+ 	}
diff --git a/debian/patches/series b/debian/patches/series
index d042fc3..c474f88 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 03_checkdir.patch
 04_typo.patch
 ffmpeg-2.9.patch
+IMG_savepng.c.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/renpy.git



More information about the Pkg-games-commits mailing list