summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2006-04-19 13:35:40 +0000
committerTavis Ormandy <taviso@gentoo.org>2006-04-19 13:35:40 +0000
commit7aa5ff23df05dad343e6dfb485b41083806c5bd7 (patch)
treeb6c9b0f3c0d246af28b81772f8ccdc84c7aba415
parentMade sed for ccache actually be determined by USE=ccache and removed sed for ... (diff)
downloadgentoo-2-7aa5ff23df05dad343e6dfb485b41083806c5bd7.tar.gz
gentoo-2-7aa5ff23df05dad343e6dfb485b41083806c5bd7.tar.bz2
gentoo-2-7aa5ff23df05dad343e6dfb485b41083806c5bd7.zip
correct cypto prototypes with patch from tcort #123993
(Portage version: 2.0.51.22-r3)
-rw-r--r--app-admin/otpcalc/ChangeLog6
-rw-r--r--app-admin/otpcalc/files/otpcalc-crypto-proto.diff12
-rw-r--r--app-admin/otpcalc/otpcalc-0.97-r1.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/app-admin/otpcalc/ChangeLog b/app-admin/otpcalc/ChangeLog
index 4d449af64285..d143e938734e 100644
--- a/app-admin/otpcalc/ChangeLog
+++ b/app-admin/otpcalc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/otpcalc
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/otpcalc/ChangeLog,v 1.18 2006/02/27 15:15:32 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/otpcalc/ChangeLog,v 1.19 2006/04/19 13:35:40 taviso Exp $
+
+ 19 Apr 2006; Tavis Ormandy <taviso@gentoo.org>
+ +files/otpcalc-crypto-proto.diff, otpcalc-0.97-r1.ebuild:
+ correct cypto prototypes with patch from tcort #123993
27 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org>
otpcalc-0.97-r1.ebuild:
diff --git a/app-admin/otpcalc/files/otpcalc-crypto-proto.diff b/app-admin/otpcalc/files/otpcalc-crypto-proto.diff
new file mode 100644
index 000000000000..deb65465f5e6
--- /dev/null
+++ b/app-admin/otpcalc/files/otpcalc-crypto-proto.diff
@@ -0,0 +1,12 @@
+diff -urN otpCalc-0.97.orig/crypto.h otpCalc-0.97/crypto.h
+--- otpCalc-0.97.orig/crypto.h 2001-05-12 02:04:54.000000000 -0400
++++ otpCalc-0.97/crypto.h 2006-03-21 17:24:54.000000000 -0500
+@@ -1,4 +1,4 @@
+-void md4lite(char *, size_t);
+-void md5lite(char *, size_t);
+-void rmd160lite(char *, size_t);
+-void sha1lite(char *, size_t);
++void md4lite(char *message, unsigned int len);
++void md5lite(char *message, unsigned int len);
++void rmd160lite(char *message, unsigned int len);
++void sha1lite(char *message, unsigned int len);
diff --git a/app-admin/otpcalc/otpcalc-0.97-r1.ebuild b/app-admin/otpcalc/otpcalc-0.97-r1.ebuild
index e7e59396daad..81bbe2bea94b 100644
--- a/app-admin/otpcalc/otpcalc-0.97-r1.ebuild
+++ b/app-admin/otpcalc/otpcalc-0.97-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/otpcalc/otpcalc-0.97-r1.ebuild,v 1.4 2006/02/27 15:15:32 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/otpcalc/otpcalc-0.97-r1.ebuild,v 1.5 2006/04/19 13:35:40 taviso Exp $
inherit eutils
@@ -22,6 +22,7 @@ src_unpack() {
epatch ${FILESDIR}/otpcalc-man-table-format.diff
epatch ${FILESDIR}/otpcalc-0.97-badindex.diff
+ epatch ${FILESDIR}/otpcalc-crypto-proto.diff
# print correct version in manpage
sed -i -e "s/VERSION/${PV}/g" ${S}/otpCalc.man