[raidem] Fix another direct reference to png struct element.

Bruno Wolff III bruno at fedoraproject.org
Sun Nov 6 15:39:57 UTC 2011


commit f7763dfd750a89a100a563aa784df24ec69441c0
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sun Nov 6 09:37:18 2011 -0600

    Fix another direct reference to png struct element.

 raidem-libpng15.patch |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/raidem-libpng15.patch b/raidem-libpng15.patch
index 9de67a2..248b1f8 100644
--- a/raidem-libpng15.patch
+++ b/raidem-libpng15.patch
@@ -26,3 +26,14 @@
  	/* Free all of the memory associated with the png_ptr and info_ptr */
  	png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
  	/* If we get here, we had a problem reading the file */
+--- lib/loadpng/savepng.c.libpng	2011-11-06 09:35:44.354626900 -0600
++++ lib/loadpng/savepng.c	2011-11-06 09:36:28.336216735 -0600
+@@ -188,7 +188,7 @@
+ 	goto Error;
+ 
+     /* Set error handling. */
+-    if (setjmp(png_ptr->jmpbuf)) {
++    if (setjmp(png_jmpbuf(png_ptr))) {
+ 	/* If we get here, we had a problem reading the file. */
+ 	goto Error;
+     }


More information about the scm-commits mailing list