summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-18 05:16:23 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-18 05:16:23 +0000
commit827576f486a6614a52dc8bf40375d9d791c14b57 (patch)
tree2953b6bd305bded15a58d38d4eee79d976f9a9d8 /sys-block
parentrestricted maketest (diff)
downloadgentoo-2-827576f486a6614a52dc8bf40375d9d791c14b57.tar.gz
gentoo-2-827576f486a6614a52dc8bf40375d9d791c14b57.tar.bz2
gentoo-2-827576f486a6614a52dc8bf40375d9d791c14b57.zip
fix typo in mhash support #99347
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/mbuffer/files/mbuffer-20050510-md5-type.patch15
-rw-r--r--sys-block/mbuffer/mbuffer-20050510.ebuild3
2 files changed, 17 insertions, 1 deletions
diff --git a/sys-block/mbuffer/files/mbuffer-20050510-md5-type.patch b/sys-block/mbuffer/files/mbuffer-20050510-md5-type.patch
new file mode 100644
index 000000000000..7516c31b8a64
--- /dev/null
+++ b/sys-block/mbuffer/files/mbuffer-20050510-md5-type.patch
@@ -0,0 +1,15 @@
+Fix typo to use right define.
+
+http://bugs.gentoo.org/99347
+
+--- mbuffer.c
++++ mbuffer.c
+@@ -44,7 +44,7 @@
+ const char *Infile = 0, *Outfile = 0, *Tape = 0;
+ int Multivolume = 0;
+ #ifdef HAVE_LIBMHASH
+-HAVE_LIBMHASH MD5hash;
++MHASH MD5hash;
+ #elif defined HAVE_LIBMD5
+ MD5_CTX md5ctxt;
+ #endif
diff --git a/sys-block/mbuffer/mbuffer-20050510.ebuild b/sys-block/mbuffer/mbuffer-20050510.ebuild
index 41cfd6144e9b..bcde48135ecd 100644
--- a/sys-block/mbuffer/mbuffer-20050510.ebuild
+++ b/sys-block/mbuffer/mbuffer-20050510.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/mbuffer-20050510.ebuild,v 1.1 2005/07/17 13:22:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/mbuffer-20050510.ebuild,v 1.2 2005/07/18 05:16:23 vapier Exp $
inherit eutils
@@ -19,6 +19,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-20050321-configure.patch
+ epatch "${FILESDIR}"/${PN}-20050510-md5-type.patch #99347
}
src_compile() {