diff options
author | Giovanne Castro | 2010-08-16 00:22:03 +0200 |
---|---|---|
committer | Erik Hanson | 2010-08-16 03:53:42 +0200 |
commit | cfc489b45520367915c4dd97516a54bab6569aac (patch) | |
tree | 10ccc3bb7c89bf250c742b3ca40c058d781c4a22 /multimedia/cinelerra/shapewipe-libpng14.patch | |
parent | e44543da8ad3aae93a72bb7b4d50e8826ecb8ec4 (diff) | |
download | slackbuilds-cfc489b45520367915c4dd97516a54bab6569aac.tar.gz |
multimedia/cinelerra: Added (GNU/Linux Video/Audio Studio)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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; |