summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-08-25 23:41:26 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-08-25 23:41:26 +0000
commitef7abea8bd2f604a1a4b75daf31ba4d5e332ef55 (patch)
tree292becbd09105b3452846bc8fadf28a8ac74922a
parentupdated feh to 1.0.1 (diff)
downloadgentoo-2-ef7abea8bd2f604a1a4b75daf31ba4d5e332ef55.tar.gz
gentoo-2-ef7abea8bd2f604a1a4b75daf31ba4d5e332ef55.tar.bz2
gentoo-2-ef7abea8bd2f604a1a4b75daf31ba4d5e332ef55.zip
added efence, malloc() debugger
-rw-r--r--dev-util/efence/efence-2.1.ebuild35
-rw-r--r--dev-util/efence/files/digest-efence-2.11
-rw-r--r--dev-util/efence/files/gentoo-efence.patch11
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/efence/efence-2.1.ebuild b/dev-util/efence/efence-2.1.ebuild
new file mode 100644
index 000000000000..ff692bdd4475
--- /dev/null
+++ b/dev-util/efence/efence-2.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Mikael Hallendal <micke@hallendal.net>
+# $Header: /var/cvsroot/gentoo-x86/dev-util/efence/efence-2.1.ebuild,v 1.1 2001/08/25 23:41:26 hallski Exp $
+
+A=ElectricFence-${PV}.tar.gz
+S=${WORKDIR}/ElectricFence-${PV}
+DESCRIPTION="malloc() debugger for Linux and Unix."
+SRC_URI="ftp://ftp.perens.com/pub/ElectricFence/${A}"
+HOMEPAGE="http://perens.com/FreeSoftware/"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p0 < ${FILESDIR}/gentoo-efence.patch
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install () {
+ dolib.a libefence.a
+ doman libefence.3
+
+ dodoc CHANGES COPYING README
+
+}
+
+
+
+
+
diff --git a/dev-util/efence/files/digest-efence-2.1 b/dev-util/efence/files/digest-efence-2.1
new file mode 100644
index 000000000000..bd10a4be5e06
--- /dev/null
+++ b/dev-util/efence/files/digest-efence-2.1
@@ -0,0 +1 @@
+MD5 8292cce74b971074aa3bb5da07565a64 ElectricFence-2.1.tar.gz
diff --git a/dev-util/efence/files/gentoo-efence.patch b/dev-util/efence/files/gentoo-efence.patch
new file mode 100644
index 000000000000..8a54f86cd34a
--- /dev/null
+++ b/dev-util/efence/files/gentoo-efence.patch
@@ -0,0 +1,11 @@
+--- page.c.orig Sun Aug 26 01:28:36 2001
++++ page.c Sun Aug 26 01:28:45 2001
+@@ -31,7 +31,7 @@
+
+ #if ( !defined(sgi) && !defined(_AIX) )
+ extern int sys_nerr;
+-extern char * sys_errlist[];
++/* extern char * sys_errlist[]; */
+ #endif
+
+ static const char *