diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-03-29 12:22:31 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-03-29 12:22:31 +0000 |
commit | eb35f4c307dd995554c1e9b297332d3048e9ebfb (patch) | |
tree | da037e68f5eeaef406cf27d447be1875bd5faa2b | |
parent | Marked as stable and added docs. (diff) | |
download | gentoo-2-eb35f4c307dd995554c1e9b297332d3048e9ebfb.tar.gz gentoo-2-eb35f4c307dd995554c1e9b297332d3048e9ebfb.tar.bz2 gentoo-2-eb35f4c307dd995554c1e9b297332d3048e9ebfb.zip |
errno fix
-rw-r--r-- | dev-db/cdb/ChangeLog | 6 | ||||
-rw-r--r-- | dev-db/cdb/cdb-0.75.ebuild | 15 | ||||
-rw-r--r-- | dev-db/cdb/files/cdb-0.75-errno.diff | 11 | ||||
-rw-r--r-- | dev-db/cdb/files/digest-cdb-0.75 | 2 |
4 files changed, 29 insertions, 5 deletions
diff --git a/dev-db/cdb/ChangeLog b/dev-db/cdb/ChangeLog index 86b5bdd48c07..c694c18189bc 100644 --- a/dev-db/cdb/ChangeLog +++ b/dev-db/cdb/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for dev-db/cdb # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/ChangeLog,v 1.3 2003/02/12 05:47:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/ChangeLog,v 1.4 2003/03/29 12:22:31 seemant Exp $ *cdb-0.75 (9 Jul 2002) + 29 Mar 2003; Seemant Kulleen <seemant@gentoo.org> cdb-0.75.ebuild, + files/cdb-0.75-errno.diff: + errno fix by: Nicolas Kaiser <nikai@nikai.net> in bug #18328 + 22 Jul 2002; Ryan Phillips <rphillips@gentoo.org> cdb-0.75.ebuild : Passes repoman now diff --git a/dev-db/cdb/cdb-0.75.ebuild b/dev-db/cdb/cdb-0.75.ebuild index a5865fcc255d..84ccc2099df7 100644 --- a/dev-db/cdb/cdb-0.75.ebuild +++ b/dev-db/cdb/cdb-0.75.ebuild @@ -1,18 +1,25 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/cdb-0.75.ebuild,v 1.5 2003/02/13 10:01:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/cdb-0.75.ebuild,v 1.6 2003/03/29 12:22:31 seemant Exp $ S=${WORKDIR}/${P} DESCRIPTION="A fast, reliable, simple package for creating and reading constant databases" SRC_URI="http://cr.yp.to/cdb/${P}.tar.gz" HOMEPAGE="http://cr.yp.to/cdb.html" + SLOT="0" -# is this license correct? LICENSE="as-is" KEYWORDS="x86" -DEPEND="sys-apps/tar sys-apps/gzip" -RDEPEND="virtual/glibc" +DEPEND=">=sys-apps/portage-2.0.47-r10 + sys-apps/tar + sys-apps/gzip" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-errno.diff +} src_compile() { echo "gcc ${CFLAGS}" > conf-cc diff --git a/dev-db/cdb/files/cdb-0.75-errno.diff b/dev-db/cdb/files/cdb-0.75-errno.diff new file mode 100644 index 000000000000..5f6ac20c59c6 --- /dev/null +++ b/dev-db/cdb/files/cdb-0.75-errno.diff @@ -0,0 +1,11 @@ +--- error.h.orig 2003-03-29 04:18:26.000000000 -0800 ++++ error.h 2003-03-29 04:19:00.000000000 -0800 +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include <errno.h> + + extern int error_intr; + extern int error_nomem; diff --git a/dev-db/cdb/files/digest-cdb-0.75 b/dev-db/cdb/files/digest-cdb-0.75 index 20fc684f3b06..4ab8c4babbf1 100644 --- a/dev-db/cdb/files/digest-cdb-0.75 +++ b/dev-db/cdb/files/digest-cdb-0.75 @@ -1 +1,3 @@ +MD5 1a3e347b6ebfe24f60f255100a2af4a0 /files/cdb-0.75-errno.diff 243 +MD5 c044657fa34bc0a7904ef5b43d3fb2cd /cdb-0.75.ebuild 1036 MD5 81fed54d0bde51b147dd6c20cdb92d51 cdb-0.75.tar.gz 54162 |