Bug#741901: antigrav: Patch for libpng1.6
Gianfranco Costamagna
locutusofborg at debian.org
Fri Jan 22 12:04:38 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Control: tags 741901 + pending
>
I played a little bit with the game and was fine.
Uploaded on deferred/6, let me know if I have to cancel or delay it
any longer.
cheers,
Gianfranco
> Dear maintainer,
>
> I've prepared the attached patch for the libpng transition.
> However, I currently can only provide the patch but not test it,
> especially the "write png" part.
>
> Therefore any feedback is appreciated.
>
> -- Tobi
>
> Regards. diff -Nru antigrav-0.0.3/debian/changelog
> antigrav-0.0.3/debian/changelog --- antigrav-0.0.3/debian/changelog
> 2014-09-02 22:51:53.000000000 +0200 +++
> antigrav-0.0.3/debian/changelog 2016-01-19 08:02:38.000000000
> +0100 @@ -1,3 +1,10 @@ +antigrav (0.0.3-6.1) UNRELEASED;
> urgency=medium + + * Non-maintainer upload. + * Fix for libpng16
> (Closes: #741901) + + -- Tobias Frost <tobi at debian.org> Tue, 19
> Jan 2016 08:01:54 +0100 + antigrav (0.0.3-6) unstable; urgency=low
>
> [ Evgeni Golov ] diff -Nru
> antigrav-0.0.3/debian/patches/06-libpng16.patch
> antigrav-0.0.3/debian/patches/06-libpng16.patch ---
> antigrav-0.0.3/debian/patches/06-libpng16.patch 1970-01-01
> 01:00:00.000000000 +0100 +++
> antigrav-0.0.3/debian/patches/06-libpng16.patch 2016-01-19
> 09:35:18.000000000 +0100 @@ -0,0 +1,90 @@ +Description: Patch for
> libpng1.6 API change +Author: Tobias Frost <tobi at debian.org>
> +Bug-Debian:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741901
> +Last-Update: 2016-01-19 +--- +This patch header follows DEP-3:
> http://dep.debian.net/deps/dep3/ +--- a/src/m3dtexture.cpp ++++
> b/src/m3dtexture.cpp +@@ -249,7 +249,7 @@ + return -1; + } + +-
> if(setjmp(pngPtr->jmpbuf)) ++ if(setjmp(png_jmpbuf(pngPtr))) + { +
> perror("setjmp"); + png_destroy_read_struct(&pngPtr, &pngInfoPtr,
> NULL); +@@ -274,7 +274,7 @@ + ckey = 0; + } + +- if(colorType !=
> PNG_COLOR_TYPE_RGB_ALPHA || bitDepth != 8 || pngInfoPtr->channels
> != 4) ++ if(colorType != PNG_COLOR_TYPE_RGB_ALPHA || bitDepth != 8
> || png_get_channels(pngPtr, pngInfoPtr) != 4) + { +
> fprintf(stderr, "Only 32-bit RGBA png images are supported\n"); +
> return -1; +@@ -283,7 +283,7 @@ + png_read_update_info(pngPtr,
> pngInfoPtr);
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJWohrWAAoJEPNPCXROn13ZJoEP/iRbbrtuFQb35lKo2QufA9d9
P9fnDNiJvxvynMRaW/0y4LRkvOeAXMd4mSTCuBzqmgYo3CbyLnGk4UpxBoPg0IHV
r3Wg2QyZ+O/wM90UpO+sQhm4Sq0rkYNVTbTup5cjlvB8u+LR/7D3nMjHpXvSyub6
M272Z9MxpGz6czkmMNmqtHRQu3gfefcAu7pOO+NQ9pL8A/eC2yL5kzNcG3A7XzIo
tM6nLRS2mF3r0YtPyzZgvXvfMRCv406mjDYKHg2ONj9ZEKtynG8ex+Nj1nObAI5O
tZswzb4ZUvYdoI/vzE1MruhbEd6tX4+bmDaW+aZDYZWxZGZLdT2aLfF908QmyYl8
PmUBsa6siaySeUT9Efzl6/cKvnCQDkM2/rr1X87Ns+q8HLhVcUqyzfb2X9SAtM5v
3jCEXI/kcjJf4Ke6KaYEijgodf8cW1RqdF+vl1ZFS5ioDT5DeuaZIz5365ZxKhfL
7Du1k6BbUp/QE3rKwUbCOL9mF/yR4CT6iKfU6RzKidrV+0dcx7fjYFaWEe/h2sX6
E7n8y3YHXA7+mBY8jvM2MganI7O/RHxhQvzRM6LOGoDNM5BqiApbYiejS6VVv4xH
Cq1xnH38OmoktrvcM5d6hg6xI3AhTBWaTzsl3zu/fUdWMY0KqMnPPWADJJB5H+CQ
jiSyNJWcIVCX+rJVQFwa
=8yEE
-----END PGP SIGNATURE-----
More information about the Pkg-games-devel
mailing list