eed7c62887
All fixes by yours truly.
16 lines
433 B
Plaintext
16 lines
433 B
Plaintext
$OpenBSD: patch-src_Util_cpp,v 1.1 2011/07/08 20:38:01 naddy Exp $
|
|
|
|
Fix build with png-1.5.
|
|
|
|
--- src/Util.cpp.orig Tue Jul 5 21:18:42 2011
|
|
+++ src/Util.cpp Tue Jul 5 21:19:02 2011
|
|
@@ -79,7 +79,7 @@ bool utilWritePNGFile(const char *fileName, int w, int
|
|
return false;
|
|
}
|
|
|
|
- if(setjmp(png_ptr->jmpbuf)) {
|
|
+ if(setjmp(png_jmpbuf(png_ptr))) {
|
|
png_destroy_write_struct(&png_ptr,NULL);
|
|
fclose(fp);
|
|
return false;
|