diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-04-12 10:31:02 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-04-12 10:31:02 +0000 |
commit | 7692647fd86d6bc54a7d08a71286eb8daa47022c (patch) | |
tree | 2cd71b887765d9baf9f1feebe8f17fcdebe8a22a /media-video/mpeg-tools | |
parent | errno fix (diff) | |
download | gentoo-2-7692647fd86d6bc54a7d08a71286eb8daa47022c.tar.gz gentoo-2-7692647fd86d6bc54a7d08a71286eb8daa47022c.tar.bz2 gentoo-2-7692647fd86d6bc54a7d08a71286eb8daa47022c.zip |
errno fix
Diffstat (limited to 'media-video/mpeg-tools')
-rw-r--r-- | media-video/mpeg-tools/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/mpeg-tools/Manifest | 5 | ||||
-rw-r--r-- | media-video/mpeg-tools/files/1.5b/mpeg-tools-1.5b-gentoo.patch | 24 | ||||
-rw-r--r-- | media-video/mpeg-tools/mpeg-tools-1.5b.ebuild | 3 |
4 files changed, 34 insertions, 4 deletions
diff --git a/media-video/mpeg-tools/ChangeLog b/media-video/mpeg-tools/ChangeLog index 3747b246544a..c48a38a7b272 100644 --- a/media-video/mpeg-tools/ChangeLog +++ b/media-video/mpeg-tools/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for media-video/mpeg-tools # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/ChangeLog,v 1.3 2003/02/12 07:39:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/ChangeLog,v 1.4 2003/04/12 10:30:59 seemant Exp $ *mpeg-tools-1.5b (1 Feb 2002) + 12 Apr 2003; Seemant Kulleen <seemant@gentoo.org> Manifest, + mpeg-tools-1.5b.ebuild, files/1.5b/mpeg-tools-1.5b-gentoo.patch: + errno fix from Ian Abbott <ian@abbott.org> in bug #19152 + 28 Aug 2002; Karl Trygve Kalleberg <karltk@gentoo.org> mpeg-tools-1.5b files/1.5b/libpnmrw.c files/1.5b/libpnmrw.h : Fixed a few files so that it compiles with gcc-3.2. Fixes #7041. diff --git a/media-video/mpeg-tools/Manifest b/media-video/mpeg-tools/Manifest index 3afe03e7fc32..b1c1067351e0 100644 --- a/media-video/mpeg-tools/Manifest +++ b/media-video/mpeg-tools/Manifest @@ -1,5 +1,6 @@ -MD5 cc159ac44e6896e7012e03816f0ffa18 mpeg-tools-1.5b.ebuild 1068 -MD5 9cb5fc06f2b6f359508b7e5d35077cf4 ChangeLog 525 +MD5 1f9c66bc5e54d9af853f8ee578b80df1 mpeg-tools-1.5b.ebuild 1113 +MD5 0614a79080392f3395c090628e04dc28 ChangeLog 715 MD5 bf748902484902bcc7eb4e616a8d04dd files/digest-mpeg-tools-1.5b 73 MD5 1c465916c02ad5e984eefda8b236fbc9 files/1.5b/libpnmrw.c 37348 MD5 1f0b9c5d21516dc0b597bdd8563a7e39 files/1.5b/libpnmrw.h 6791 +MD5 ee6ac6a97ef340aecff643f24bc2f02c files/1.5b/mpeg-tools-1.5b-gentoo.patch 560 diff --git a/media-video/mpeg-tools/files/1.5b/mpeg-tools-1.5b-gentoo.patch b/media-video/mpeg-tools/files/1.5b/mpeg-tools-1.5b-gentoo.patch new file mode 100644 index 000000000000..5a99c3e0fae1 --- /dev/null +++ b/media-video/mpeg-tools/files/1.5b/mpeg-tools-1.5b-gentoo.patch @@ -0,0 +1,24 @@ +--- mpeg_encode.old/libpnmrw.c 2003-04-11 17:39:57.000000000 +0100 ++++ mpeg_encode/libpnmrw.c 2003-04-11 17:43:01.000000000 +0100 +@@ -34,6 +34,8 @@ + #include <string.h> + #define rindex(s,c) strrchr(s,c) + ++#include <errno.h> ++ + + /* Definitions. */ + +@@ -126,11 +128,9 @@ + pm_perror( reason ) + char* reason; + { +- extern __const char *__const sys_errlist[]; +- extern int errno; + char* e; + +- e = sys_errlist[errno]; ++ e = strerror(errno); + + if ( reason != 0 && reason[0] != '\0' ) + (void) fprintf( stderr, "%s: %s - %s\n", progname, reason, e ); diff --git a/media-video/mpeg-tools/mpeg-tools-1.5b.ebuild b/media-video/mpeg-tools/mpeg-tools-1.5b.ebuild index a71e1e98cdf0..aed17432d2cd 100644 --- a/media-video/mpeg-tools/mpeg-tools-1.5b.ebuild +++ b/media-video/mpeg-tools/mpeg-tools-1.5b.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/mpeg-tools-1.5b.ebuild,v 1.12 2003/02/13 13:29:49 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/mpeg-tools-1.5b.ebuild,v 1.13 2003/04/12 10:30:59 seemant Exp $ MY_PN=mpeg_encode S=${WORKDIR}/${MY_PN} @@ -19,6 +19,7 @@ src_unpack () { cd ${S} cp ${FILESDIR}/${PV}/libpnmrw.c . cp ${FILESDIR}/${PV}/libpnmrw.h headers/ + epatch ${FILESDIR}/${PV}/${P}-gentoo.patch } src_compile() { |