aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dvdauthor
diff options
context:
space:
mode:
authorPierre Beyssac <pb@FreeBSD.org>2010-07-24 16:38:07 +0000
committerPierre Beyssac <pb@FreeBSD.org>2010-07-24 16:38:07 +0000
commit2e88b1de64abfd339132c5718df65cdaa32379d4 (patch)
tree3cad47dc337f719412db46cebfffce2b968af3e9 /multimedia/dvdauthor
parent66bb6e36ab2682d25f0a1079831ee5ab0d409170 (diff)
downloadports-2e88b1de64abfd339132c5718df65cdaa32379d4.tar.gz
ports-2e88b1de64abfd339132c5718df65cdaa32379d4.zip
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
Notes
Notes: svn path=/head/; revision=258163
Diffstat (limited to 'multimedia/dvdauthor')
-rw-r--r--multimedia/dvdauthor/Makefile2
-rw-r--r--multimedia/dvdauthor/files/patch-src__subgen-image.c15
2 files changed, 16 insertions, 1 deletions
diff --git a/multimedia/dvdauthor/Makefile b/multimedia/dvdauthor/Makefile
index 16811b5abab2..eb73b32b8db8 100644
--- a/multimedia/dvdauthor/Makefile
+++ b/multimedia/dvdauthor/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dvdauthor
PORTVERSION= 0.6.14
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= multimedia
MASTER_SITES= SF
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");