ports/154065: dvdauthor patch file is incorrect

G. Paul Ziemba p-fbsd-bugs at ziemba.us
Sun Jan 16 20:40:05 UTC 2011


>Number:         154065
>Category:       ports
>Synopsis:       dvdauthor patch file is incorrect
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 16 20:40:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     G. Paul Ziemba
>Release:        8.2-PRERELEASE
>Organization:
>Environment:
FreeBSD hairball.ziemba.us 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Tue Jan 11 22:26:31 PST 2011     root at hairball:/usr/obj/usr/src/sys/GPZ-110111  i386
>Description:
/usr/ports/multimedia/dvdauthor/files/patch-src__subgen-image.c appears to be in the form of a patch to create the actual desired patch-src__subgen-image.c. Through some luck it happens to result in the correct patch being applied on the Nth iteration of the build (N=2 maybe?), it fails for other iterations.

>How-To-Repeat:
cd /usr/ports/multimedia/dvdauthor
sudo make
sudo make
sudo make
>Fix:
Here are the desired contents of files/patch-src__subgen-image.c:

--- 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");

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list