summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-10-03 02:46:09 +0000
committerAron Griffis <agriffis@gentoo.org>2003-10-03 02:46:09 +0000
commit4ea9a86e10a243c2602aa1cc677e8d9c1977739f (patch)
tree7401999d94f4bdf225729beac6ae1557071e2895 /dev-libs/tdb
parentDEPEND fix #30220 (diff)
downloadhistorical-4ea9a86e10a243c2602aa1cc677e8d9c1977739f.tar.gz
historical-4ea9a86e10a243c2602aa1cc677e8d9c1977739f.tar.bz2
historical-4ea9a86e10a243c2602aa1cc677e8d9c1977739f.zip
Patch to fixup multiline strings
Diffstat (limited to 'dev-libs/tdb')
-rw-r--r--dev-libs/tdb/ChangeLog6
-rw-r--r--dev-libs/tdb/Manifest5
-rw-r--r--dev-libs/tdb/files/tdb-1.0.6-gcc3.patch41
-rw-r--r--dev-libs/tdb/tdb-1.0.6.ebuild8
4 files changed, 56 insertions, 4 deletions
diff --git a/dev-libs/tdb/ChangeLog b/dev-libs/tdb/ChangeLog
index 1f6841c6d398..92daf09b6592 100644
--- a/dev-libs/tdb/ChangeLog
+++ b/dev-libs/tdb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/tdb
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/tdb/ChangeLog,v 1.5 2003/07/14 04:48:45 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tdb/ChangeLog,v 1.6 2003/10/03 02:46:05 agriffis Exp $
+
+ 02 Oct 2003; Aron Griffis <agriffis@gentoo.org> tdb-1.0.6.ebuild,
+ files/tdb-1.0.6-gcc3.patch:
+ Patch to fixup multiline strings
13 Jul 2003; Michael Sterrett <msterret@gentoo.org> tdb-1.0.6.ebuild:
fix issue with man pages installing in /usr/man (bug 19809); tidy
diff --git a/dev-libs/tdb/Manifest b/dev-libs/tdb/Manifest
index fce952d6be99..b2cd45dac445 100644
--- a/dev-libs/tdb/Manifest
+++ b/dev-libs/tdb/Manifest
@@ -1,3 +1,4 @@
-MD5 c95db3ce928a6dad0c91ceac94fcca09 ChangeLog 577
-MD5 b8d058dedfc73ce272ccde22ebbfc5d5 tdb-1.0.6.ebuild 497
+MD5 c320c7320b5c462e7c31755b31ce9452 ChangeLog 711
+MD5 a5da81d032cf3e3c0b1b55e1438ca331 tdb-1.0.6.ebuild 593
+MD5 3dbbde1145303ad43730f2bc1bb3b82b files/tdb-1.0.6-gcc3.patch 1656
MD5 c44d9351a9daabd84de3ecc7876ef67c files/digest-tdb-1.0.6 61
diff --git a/dev-libs/tdb/files/tdb-1.0.6-gcc3.patch b/dev-libs/tdb/files/tdb-1.0.6-gcc3.patch
new file mode 100644
index 000000000000..a17afbac95dd
--- /dev/null
+++ b/dev-libs/tdb/files/tdb-1.0.6-gcc3.patch
@@ -0,0 +1,41 @@
+--- tdb-1.0.6/tdbtool.c.old 2001-12-10 22:45:47.000000000 -0500
++++ tdb-1.0.6/tdbtool.c 2003-10-02 22:41:51.000000000 -0400
+@@ -169,22 +169,22 @@
+
+ static void help(void)
+ {
+- printf("
+-tdbtool:
+- create dbname : create a database
+- open dbname : open an existing database
+- erase : erase the database
+- dump dumpname : dump the database as strings
+- insert key data : insert a record
+- store key data : store a record (replace)
+- show key : show a record by key
+- delete key : delete a record by key
+- list : print the database hash table and freelist
+- free : print the database freelist
+- 1 | first : print the first record
+- n | next : print the next record
+- q | quit : terminate
+- \\n : repeat 'next' command
++ printf("\n\
++tdbtool:\n\
++ create dbname : create a database\n\
++ open dbname : open an existing database\n\
++ erase : erase the database\n\
++ dump dumpname : dump the database as strings\n\
++ insert key data : insert a record\n\
++ store key data : store a record (replace)\n\
++ show key : show a record by key\n\
++ delete key : delete a record by key\n\
++ list : print the database hash table and freelist\n\
++ free : print the database freelist\n\
++ 1 | first : print the first record\n\
++ n | next : print the next record\n\
++ q | quit : terminate\n\
++ \\n : repeat 'next' command\n\
+ ");
+ }
+
diff --git a/dev-libs/tdb/tdb-1.0.6.ebuild b/dev-libs/tdb/tdb-1.0.6.ebuild
index 958e72d50581..428d6abc2477 100644
--- a/dev-libs/tdb/tdb-1.0.6.ebuild
+++ b/dev-libs/tdb/tdb-1.0.6.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/dev-libs/tdb/tdb-1.0.6.ebuild,v 1.9 2003/07/14 04:48:45 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tdb/tdb-1.0.6.ebuild,v 1.10 2003/10/03 02:46:05 agriffis Exp $
DESCRIPTION="A Trivial Database"
SRC_URI="mirror://sourceforge/tdb/${P}.tar.gz"
@@ -13,6 +13,12 @@ IUSE=""
DEPEND="virtual/glibc"
+src_unpack() {
+ unpack ${A} || die
+ cd ${S}
+ epatch ${FILESDIR}/tdb-1.0.6-gcc3.patch || die
+}
+
src_install() {
einstall || die
dodoc AUTHORS NEWS README TODO