summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-05-04 01:47:46 +0000
committerDonny Davies <woodchip@gentoo.org>2002-05-04 01:47:46 +0000
commit3c869085c39b6952dd633787009aeed71b41b8c4 (patch)
treead016b73dfe3d19b8340d5fffc21bb65b987eb29 /dev-libs
parentadded LICENSE, SLOT, $Headers (diff)
downloadgentoo-2-3c869085c39b6952dd633787009aeed71b41b8c4.tar.gz
gentoo-2-3c869085c39b6952dd633787009aeed71b41b8c4.tar.bz2
gentoo-2-3c869085c39b6952dd633787009aeed71b41b8c4.zip
try to fix build problem
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/mm/ChangeLog16
-rw-r--r--dev-libs/mm/files/digest-mm-1.1.3-r1 (renamed from dev-libs/mm/files/digest-mm-1.1.3)0
-rw-r--r--dev-libs/mm/files/mm-1.1.3-shtool.patch13
-rw-r--r--dev-libs/mm/mm-1.1.3-r1.ebuild (renamed from dev-libs/mm/mm-1.1.3.ebuild)12
4 files changed, 39 insertions, 2 deletions
diff --git a/dev-libs/mm/ChangeLog b/dev-libs/mm/ChangeLog
new file mode 100644
index 000000000000..e0baaa2fe1b4
--- /dev/null
+++ b/dev-libs/mm/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for dev-libs/mm
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mm/ChangeLog,v 1.1 2002/05/04 01:47:46 woodchip Exp $
+
+*mm-1.1.3-r1 (3 May 2002)
+
+ 3 May 2002; Donny Davies <woodchip@gentoo.org>:
+
+ Trying to fix #2422.
+
+*mm-1.1.3 (3 May 2002)
+
+ 3 May 2002; Donny Davies <woodchip@gentoo.org>:
+
+ Add missing ChangeLog.
+
diff --git a/dev-libs/mm/files/digest-mm-1.1.3 b/dev-libs/mm/files/digest-mm-1.1.3-r1
index b3ed9d9ac3d7..b3ed9d9ac3d7 100644
--- a/dev-libs/mm/files/digest-mm-1.1.3
+++ b/dev-libs/mm/files/digest-mm-1.1.3-r1
diff --git a/dev-libs/mm/files/mm-1.1.3-shtool.patch b/dev-libs/mm/files/mm-1.1.3-shtool.patch
new file mode 100644
index 000000000000..73766a233f69
--- /dev/null
+++ b/dev-libs/mm/files/mm-1.1.3-shtool.patch
@@ -0,0 +1,13 @@
+--- shtool.orig Tue Sep 19 19:14:58 2000
++++ shtool Tue Sep 19 19:24:14 2000
+@@ -1086,8 +1086,8 @@
+ hex=`echo "$ver:$rev:$typnum:$levnum" |\
+ awk -F: '{ printf("0x%X%02X%1X%02X", $1, $2, $3, $4); }'`
+ ltv=`echo "$ver:$rev:$typnum:$levnum" |\
+- awk -F: '{ printf("%d:%d", $1*10 + $2, $3*10 + $4); }'`
+-
++ awk -F: '{ printf("%d:%d:%d", $1 + $2, $4, $2); }'`
++
+ # determine date
+ if [ ".$tim" = .calc ]; then
+ day=`date '+%d'`
diff --git a/dev-libs/mm/mm-1.1.3.ebuild b/dev-libs/mm/mm-1.1.3-r1.ebuild
index c03acb5af017..5396d293cbf6 100644
--- a/dev-libs/mm/mm-1.1.3.ebuild
+++ b/dev-libs/mm/mm-1.1.3-r1.ebuild
@@ -1,15 +1,23 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Maintainer: Donny Davies <woodchip@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mm/mm-1.1.3.ebuild,v 1.1 2002/03/23 17:48:22 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mm/mm-1.1.3-r1.ebuild,v 1.1 2002/05/04 01:47:46 woodchip Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Shared Memory Abstraction Library"
HOMEPAGE="http://www.engelschall.com/sw/mm/"
SRC_URI="http://www.engelschall.com/sw/mm/${P}.tar.gz"
DEPEND="virtual/glibc"
+LICENSE="as-is"
+SLOT="1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p0 < ${FILESDIR}/mm-1.1.3-shtool.patch || die
+}
src_compile() {
+ libtoolize --force
econf --host=${CHOST} || die "bad ./configure"
make || die "compile problem"
make test || die "testing problem"