SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
graphics/gfract/patches/patch-my_png_cpp
Normal file
13
graphics/gfract/patches/patch-my_png_cpp
Normal file
|
@ -0,0 +1,13 @@
|
|||
Fix build with png-1.5.
|
||||
|
||||
--- my_png.cpp.orig Mon Feb 1 13:31:34 2010
|
||||
+++ my_png.cpp Thu Oct 27 14:50:22 2016
|
||||
@@ -53,7 +53,7 @@ void my_png_save_img(image_info* img, char* filename)
|
||||
return;
|
||||
}
|
||||
|
||||
- if (setjmp(png_ptr->jmpbuf)) {
|
||||
+ if (setjmp(png_jmpbuf(png_ptr))) {
|
||||
fprintf(stderr, "Internal error in libpng\n");
|
||||
if (png_pal)
|
||||
delete[] png_pal;
|
Loading…
Add table
Add a link
Reference in a new issue