5c19ccac5d
Pkgsrc changes: - Add LICENSE Upstream changes: 0.7.0: 2010 October 23 * Reworked subtitle file reading so it can now deal with encodings like UTF-16 * Default encoding for subtitle files is no longer ISO-8859-1, but taken from user's locale * Add fontconfig support following a patch by Nicolas George * Remove dvdauthor config files and make command line -o option take precedence over XML dest attribute. * Video format no longer has hard-coded default to NTSC, unless you invoke configure with --enable-default-video-format=NTSC. You can also configure with --enable-default-video-format=PAL to default to PAL. * Implement configuration of default video format as per the proposal at <http://create.freedesktop.org/wiki/Video_Format_Pref>. * File names are no longer converted to locale encoding, unless you invoke configure with --enable-localize-filenames. * You can now specify fill and outline colours and outline thickness for text subtitles. Colours can be specified in additional ways, including by name and in HSV space. * You can now also specify a shadow offset and colour for text subtitles * Allow non-title PGCs in a titleset * The VM language now allows C-style comments, as well as CDATA sections * Add --nomux and --nodvdauthor-data options to spumux (thanks to TED for sponsoring this)
25 lines
682 B
Text
25 lines
682 B
Text
$NetBSD: patch-ab,v 1.5 2011/02/16 20:20:14 gls Exp $
|
|
|
|
Fix build with png-1.5.
|
|
Accepted upstream in
|
|
https://github.com/ldo/dvdauthor/commit/c82aaa4eb1a1c36bf7e2b7ae3c9140d0bf8000b5
|
|
|
|
--- src/spuunmux.c.orig 2010-05-10 07:27:55.000000000 +0000
|
|
+++ src/spuunmux.c
|
|
@@ -39,6 +39,7 @@
|
|
#include <netinet/in.h>
|
|
|
|
#include <png.h>
|
|
+#include <zlib.h>
|
|
|
|
#include "rgb.h"
|
|
#include "common.h"
|
|
@@ -610,7 +611,7 @@ static int write_png
|
|
png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
|
|
return -1;
|
|
} /*if*/
|
|
- if (setjmp(png_ptr->jmpbuf))
|
|
+ if (setjmp(png_jmpbuf(png_ptr)))
|
|
{
|
|
png_destroy_write_struct(&png_ptr, &info_ptr);
|
|
fclose(fp);
|