mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
8b511df7b9
svn path=/nixpkgs/branches/libpng15/; revision=29651
14 lines
282 B
Diff
14 lines
282 B
Diff
From Gentoo. Fixes compilation with libpng-1.5
|
|
|
|
--- a/src/Util.cpp
|
|
+++ b/src/Util.cpp
|
|
@@ -79,7 +79,7 @@
|
|
return false;
|
|
}
|
|
|
|
- if(setjmp(png_ptr->jmpbuf)) {
|
|
+ if(setjmp(png_jmpbuf(png_ptr))) {
|
|
png_destroy_write_struct(&png_ptr,NULL);
|
|
fclose(fp);
|
|
return false;
|