Subject: pkg/23197: mpeg_encode pkg needs patch - simple fix enclosed
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <waddell@caravan.com>
List: netbsd-bugs
Date: 10/19/2003 19:01:38
>Number: 23197
>Category: pkg
>Synopsis: mpeg_encode pkg needs patch - simple fix enclosed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 19 19:02:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Harry Waddell
>Release: NetBSD 1.6-i386-current
>Organization:
Caravan Electronic Publishing
>Environment:
NetBSD slump 1.6ZD NetBSD 1.6ZD (CARAVANMP) #19: Sat Oct 18 13:05:40 PDT 2003 waddell@slump:/usr/src/sys/arch/i386/compile/CARAVANMP i386
>Description:
mpeg_encode will not compile. This may be related to the change to gcc3
which gripes about calling exit with no argument.
>How-To-Repeat:
cd /usr/pkgsrc/graphics/mpeg_encode
make
>Fix:
add the following patch:
bash-2.05b# cat patches/patch-ae
--- convert/jmovie2jpeg.c.orig 1995-01-19 16:29:24.000000000 -0800
+++ convert/jmovie2jpeg.c 2003-10-19 11:35:03.000000000 -0700
@@ -283,12 +283,12 @@
if (fread (&(image_offset),sizeof(int),1,inFile) != 1)
{
perror("Error in reading image offset");
- exit();
+ exit(1);
}
if (fread (&(audio_tracks),sizeof(int),1,inFile) != 1)
{
perror("Error in reading audio tracks");
- exit();
+ exit(1);
}
if (audio_tracks != 1)
{
>Release-Note:
>Audit-Trail:
>Unformatted: