Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2011 20:39:14 GMT
From:      "G. Paul Ziemba" <p-fbsd-bugs@ziemba.us>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154065: dvdauthor patch file is incorrect
Message-ID:  <201101162039.p0GKdEx8064408@red.freebsd.org>
Resent-Message-ID: <201101162040.p0GKe4NB083622@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101162039.p0GKdEx8064408>