diff options
Diffstat (limited to 'multimedia/cinelerra/shapewipe-libpng14.patch')
-rw-r--r-- | multimedia/cinelerra/shapewipe-libpng14.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/cinelerra/shapewipe-libpng14.patch b/multimedia/cinelerra/shapewipe-libpng14.patch new file mode 100644 index 0000000000..68c2d3f6dc --- /dev/null +++ b/multimedia/cinelerra/shapewipe-libpng14.patch @@ -0,0 +1,29 @@ +diff -rupN cinelerra.orig//plugins/shapewipe/shapewipe.C cinelerra.diff//plugins/shapewipe/shapewipe.C +--- cinelerra.orig//plugins/shapewipe/shapewipe.C 2010-05-24 15:51:53.363190632 -0400 ++++ cinelerra.diff//plugins/shapewipe/shapewipe.C 2010-05-24 15:56:04.243457280 -0400 +@@ -385,7 +385,7 @@ int ShapeWipeMain::read_pattern_image(in + goto erret; + + png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, +- png_voidp_NULL, png_error_ptr_NULL, png_error_ptr_NULL); ++ NULL, NULL, NULL); + + if (!png_ptr) + goto erret; +@@ -396,14 +396,14 @@ int ShapeWipeMain::read_pattern_image(in + info_ptr = png_create_info_struct(png_ptr); + if (!info_ptr) + { +- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, NULL, NULL); + goto erret; + } + + end_info = png_create_info_struct(png_ptr); + if (!end_info) + { +- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + erret: + fclose(fp); + return 1; |