diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-02-27 17:22:26 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-02-27 17:22:26 +0000 |
commit | ac65feccfdd7a3ee8139b454686eddfd9172f6d5 (patch) | |
tree | 9320f10d9a2382fd7f6312cb52c15531a162b0d0 /media-libs/compface | |
parent | move gtk-sharp to a more appropriate place (diff) | |
download | gentoo-2-ac65feccfdd7a3ee8139b454686eddfd9172f6d5.tar.gz gentoo-2-ac65feccfdd7a3ee8139b454686eddfd9172f6d5.tar.bz2 gentoo-2-ac65feccfdd7a3ee8139b454686eddfd9172f6d5.zip |
errno fix
Diffstat (limited to 'media-libs/compface')
-rw-r--r-- | media-libs/compface/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/compface/compface-1.4.ebuild | 12 | ||||
-rw-r--r-- | media-libs/compface/files/compface-1.4-errno.diff | 36 |
3 files changed, 49 insertions, 5 deletions
diff --git a/media-libs/compface/ChangeLog b/media-libs/compface/ChangeLog index f7cf95e3d883..0aa735bd7100 100644 --- a/media-libs/compface/ChangeLog +++ b/media-libs/compface/ChangeLog @@ -1,11 +1,15 @@ # ChangeLog for media-libs/compface # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/compface/ChangeLog,v 1.5 2003/02/12 07:06:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/compface/ChangeLog,v 1.6 2003/02/27 17:22:26 seemant Exp $ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords *compface-1.4 (1 Feb 2002) + 27 Feb 2003; Seemant Kulleen <seemant@gentoo.org> compface-1.4.ebuild, + files/compface-1.4-errno.diff: + added fix for errno brokenness caused by newest glibc + 07 Aug 2002; Mark Guertin <gerk@gentoo.org> : Added ppc to keywords diff --git a/media-libs/compface/compface-1.4.ebuild b/media-libs/compface/compface-1.4.ebuild index 5457fb51f199..102849fba3f4 100644 --- a/media-libs/compface/compface-1.4.ebuild +++ b/media-libs/compface/compface-1.4.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/compface/compface-1.4.ebuild,v 1.10 2003/02/13 12:41:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/compface/compface-1.4.ebuild,v 1.11 2003/02/27 17:22:26 seemant Exp $ + +inherit eutils S=${WORKDIR}/${P} DESCRIPTION="Utilities and library to convert to/from X-Face format" @@ -13,9 +15,11 @@ KEYWORDS="x86 ppc sparc " DEPEND="virtual/glibc" -src_compile() { - econf || die - make || die +src_unpack() { + + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-errno.diff } src_install () { diff --git a/media-libs/compface/files/compface-1.4-errno.diff b/media-libs/compface/files/compface-1.4-errno.diff new file mode 100644 index 000000000000..fca420bc0100 --- /dev/null +++ b/media-libs/compface/files/compface-1.4-errno.diff @@ -0,0 +1,36 @@ +diff -urN compface-1.4.orig/cmain.c compface-1.4/cmain.c +--- compface-1.4.orig/cmain.c 2000-11-22 16:51:03.000000000 -0800 ++++ compface-1.4/cmain.c 2003-02-27 09:11:08.000000000 -0800 +@@ -53,11 +53,12 @@ + + /* error handling definitions follow */ + ++#include <errno.h> ++ + #ifndef HAVE_STRERROR +-extern int errno, sys_nerr; ++extern int sys_nerr; + extern char *sys_errlist[]; + #else +-extern int errno; + char *strerror(); + char *strerrorwrap(); + #endif +diff -urN compface-1.4.orig/uncmain.c compface-1.4/uncmain.c +--- compface-1.4.orig/uncmain.c 2000-11-22 16:51:24.000000000 -0800 ++++ compface-1.4/uncmain.c 2003-02-27 09:10:58.000000000 -0800 +@@ -53,11 +53,12 @@ + + /* error handling definitions follow */ + ++#include <errno.h> ++ + #ifndef HAVE_STRERROR +-extern int errno, sys_nerr; ++extern int sys_nerr; + extern char *sys_errlist[]; + #else +-extern int errno; + char *strerror(); + char *strerrorwrap(); + #endif |