diff options
author | hubertf <hubertf> | 2003-10-20 02:41:29 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2003-10-20 02:41:29 +0000 |
commit | f18d498893d527410a24f04b613923b85f9aacf7 (patch) | |
tree | 431e7a3d9ddb7825dfe863a105729795e1005ffa /graphics | |
parent | bbed2f7436e171493839a6149b8d03a8c146bf13 (diff) | |
download | pkgsrc-f18d498893d527410a24f04b613923b85f9aacf7.tar.gz |
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 (limited to 'graphics')
-rw-r--r-- | graphics/mpeg_encode/distinfo | 3 | ||||
-rw-r--r-- | graphics/mpeg_encode/patches/patch-ae | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/graphics/mpeg_encode/distinfo b/graphics/mpeg_encode/distinfo index 15138ef6dd4..995a7416c5f 100644 --- a/graphics/mpeg_encode/distinfo +++ b/graphics/mpeg_encode/distinfo @@ -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-aa) = 04221eb3d4cf85b206d27a2f425719ed7c4a5ec1 SHA1 (patch-ab) = f2cdf02d49b726b4fb7fb210074e7ba53b9b380b SHA1 (patch-ac) = 8f89257bd93584cd028b659bb8c3379d713339da SHA1 (patch-ad) = 670a244680d09cb9f558a8777ec8f189145342f8 +SHA1 (patch-ae) = e591c1399d51175295731b2c8947c03c19ede486 diff --git a/graphics/mpeg_encode/patches/patch-ae b/graphics/mpeg_encode/patches/patch-ae new file mode 100644 index 00000000000..f4a44efcc0c --- /dev/null +++ b/graphics/mpeg_encode/patches/patch-ae @@ -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) + { |