Fixing build with libpng-1.4 https://bugs.gentoo.org/321201 --- src/widgets/picture.cxx +++ src/widgets/picture.cxx @@ -279,7 +279,7 @@ return -1; } if ((info = png_create_info_struct(png)) == NULL) { - png_destroy_write_struct(&png, png_infopp_NULL); + png_destroy_write_struct(&png, NULL); fclose(fp); return -1; }