pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/mpeg_encode Don't call exit(3) without arg. N...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6b143a4269f6
branches: trunk
changeset: 462947:6b143a4269f6
user: hubertf <hubertf%pkgsrc.org@localhost>
date: Mon Oct 20 02:41:29 2003 +0000
description:
Don't call exit(3) without arg. No idea why the compiler ate that before,
but in -current with gcc 3.x that's definitely a (valid) error.
Noted in PR 23197 by Harry Waddell, caravan.com BANG waddell.
diffstat:
graphics/mpeg_encode/distinfo | 3 ++-
graphics/mpeg_encode/patches/patch-ae | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 3be1e3137552 -r 6b143a4269f6 graphics/mpeg_encode/distinfo
--- a/graphics/mpeg_encode/distinfo Mon Oct 20 02:06:07 2003 +0000
+++ b/graphics/mpeg_encode/distinfo Mon Oct 20 02:41:29 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2002/02/12 23:26:28 dillo Exp $
+$NetBSD: distinfo,v 1.4 2003/10/20 02:41:29 hubertf Exp $
SHA1 (mpeg_encode-1.5b-src.tar.gz) = 853cd175f73b8064ce28deb256e4b81159a684ed
Size (mpeg_encode-1.5b-src.tar.gz) = 2028724 bytes
@@ -6,3 +6,4 @@
SHA1 (patch-ab) = f2cdf02d49b726b4fb7fb210074e7ba53b9b380b
SHA1 (patch-ac) = 8f89257bd93584cd028b659bb8c3379d713339da
SHA1 (patch-ad) = 670a244680d09cb9f558a8777ec8f189145342f8
+SHA1 (patch-ae) = e591c1399d51175295731b2c8947c03c19ede486
diff -r 3be1e3137552 -r 6b143a4269f6 graphics/mpeg_encode/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/mpeg_encode/patches/patch-ae Mon Oct 20 02:41:29 2003 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ae,v 1.1 2003/10/20 02:41:29 hubertf Exp $
+
+--- convert/jmovie2jpeg.c.orig 1995-01-20 00:29:24.000000000 +0000
++++ convert/jmovie2jpeg.c
+@@ -283,12 +283,12 @@ static char inbuffer[300000] = {
+ 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)
+ {
Home |
Main Index |
Thread Index |
Old Index