[simage] 02/02: Fix FTBFS for libpng 1.6 (Closes: #648126)

Anton Gladky gladk at moszumanska.debian.org
Fri Jan 15 05:23:01 UTC 2016


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

gladk pushed a commit to branch master
in repository simage.

commit e4c5f530eeab0c4ad168a86bbd9daa36242aca05
Author: Tobias Frost <tobi at debian.org>
Date:   Fri Jan 15 06:22:47 2016 +0100

    Fix FTBFS for libpng 1.6 (Closes: #648126)
---
 debian/patches/libpng16.patch | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/debian/patches/libpng16.patch b/debian/patches/libpng16.patch
new file mode 100644
index 0000000..b3819ce
--- /dev/null
+++ b/debian/patches/libpng16.patch
@@ -0,0 +1,17 @@
+Description: Fix FTBFS with changed libpng 1.6 api
+Author: Tobias Frost <tobi at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648126
+Last-Update: 2016-01-07
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/simage_png.c
++++ b/src/simage_png.c
+@@ -342,7 +342,7 @@
+   /* Set error handling.  REQUIRED if you aren't supplying your own
+    * error hadnling functions in the png_create_write_struct() call.
+    */
+-  if (setjmp(png_ptr->jmpbuf)) {
++  if (setjmp(png_jmpbuf(png_ptr))) {
+     /* If we get here, we had a problem reading the file */
+     fclose(fp);
+     png_destroy_write_struct(&png_ptr,  (png_infopp)info_ptr);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/simage.git



More information about the debian-science-commits mailing list