[pygame-sdl2] 01/02: Add write_png.c.patch and fix FTBFS on Big-endian architectures due to missing
Markus Koschany
apo-guest at moszumanska.debian.org
Tue Jan 26 12:23:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository pygame-sdl2.
commit 7de61dfd0e0d06466194e84b428c52736c2ea7f0
Author: Markus Koschany <apo at debian.org>
Date: Tue Jan 26 13:05:09 2016 +0100
Add write_png.c.patch and fix FTBFS on Big-endian architectures due to missing
semicolon.
---
debian/patches/series | 1 +
debian/patches/write_png.c.patch | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b211be8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+write_png.c.patch
diff --git a/debian/patches/write_png.c.patch b/debian/patches/write_png.c.patch
new file mode 100644
index 0000000..8a0a20e
--- /dev/null
+++ b/debian/patches/write_png.c.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at debian.org>
+Date: Tue, 26 Jan 2016 13:03:55 +0100
+Subject: write_png.c
+
+---
+ src/write_png.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/write_png.c b/src/write_png.c
+index a2a8c2f..3b3ac94 100644
+--- a/src/write_png.c
++++ b/src/write_png.c
+@@ -132,7 +132,7 @@ int Pygame_SDL2_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;
+ }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/pygame-sdl2.git
More information about the Pkg-games-commits
mailing list