From 2e88b1de64abfd339132c5718df65cdaa32379d4 Mon Sep 17 00:00:00 2001 From: Pierre Beyssac Date: Sat, 24 Jul 2010 16:38:07 +0000 Subject: Description from PR: With the newer PNG library, spumux is detecting an errors about PNG images being too big (at least on amd64). This patches uses a specific libpng type for width and height. devede was generating a DVD with a menu that was non-functional. It took me awhile to narrow down the problem: spumux was skipping the addition of a subtitle to the menu MPG file but not causing devede to return an error. It seems that DVD's require a subtitle for the menu to function even if it does not say anything. Patch obtained from the dvdauthor repository: http://github.com/ldo/dvdauthor/commit/fd5c2705825762a6361fbcf95099a42471d709d7 PR: ports/148658 Submitted by: scf --- multimedia/dvdauthor/files/patch-src__subgen-image.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 multimedia/dvdauthor/files/patch-src__subgen-image.c (limited to 'multimedia/dvdauthor/files/patch-src__subgen-image.c') diff --git a/multimedia/dvdauthor/files/patch-src__subgen-image.c b/multimedia/dvdauthor/files/patch-src__subgen-image.c new file mode 100644 index 000000000000..9bba393c7ee2 --- /dev/null +++ b/multimedia/dvdauthor/files/patch-src__subgen-image.c @@ -0,0 +1,15 @@ +diff -ruN --exclude=CVS /usr/ports/multimedia/dvdauthor.orig/files/patch-src__subgen-image.c /usr/ports/multimedia/dvdauthor/files/patch-src__subgen-image.c +--- /usr/ports/multimedia/dvdauthor.orig/files/patch-src__subgen-image.c 1969-12-31 18:00:00.000000000 -0600 ++++ /usr/ports/multimedia/dvdauthor/files/patch-src__subgen-image.c 2010-07-15 19:58:36.000000000 -0500 +@@ -0,0 +1,11 @@ ++--- src/subgen-image.c.orig 2007-01-12 19:40:42.000000000 -0600 +++++ src/subgen-image.c 2010-07-15 19:56:30.000000000 -0600 ++@@ -203,7 +203,7 @@ ++ png_struct *ps; ++ png_info *pi; ++ png_byte **rowp; ++- unsigned long width,height; +++ png_uint_32 width,height; ++ int bit_depth,color_type,channels,x,y; ++ ++ fp=fopen(s->fname,"rb"); -- cgit v1.2.3