SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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;