summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-12-27 03:05:00 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-12-27 03:05:00 +0000
commitd47970650bdf116be754e558069df90e5b3fcc70 (patch)
tree7f2c7165676f72f3bbc15c081076bb08858ef896 /app-crypt/mhash/files
parentPackage failure on Pentium-M systems in HMAC code. (diff)
downloadgentoo-2-d47970650bdf116be754e558069df90e5b3fcc70.tar.gz
gentoo-2-d47970650bdf116be754e558069df90e5b3fcc70.tar.bz2
gentoo-2-d47970650bdf116be754e558069df90e5b3fcc70.zip
Bug #116769 - upstream accidently dropped a symbol. Note that 0.9.3* is package.masked for the moment due to another bug as well.
(Portage version: 2.1_pre2)
Diffstat (limited to 'app-crypt/mhash/files')
-rw-r--r--app-crypt/mhash/files/digest-mhash-0.9.3-r11
-rw-r--r--app-crypt/mhash/files/mhash-0.9.3-mhash_free.patch18
2 files changed, 19 insertions, 0 deletions
diff --git a/app-crypt/mhash/files/digest-mhash-0.9.3-r1 b/app-crypt/mhash/files/digest-mhash-0.9.3-r1
new file mode 100644
index 000000000000..abde19828d5f
--- /dev/null
+++ b/app-crypt/mhash/files/digest-mhash-0.9.3-r1
@@ -0,0 +1 @@
+MD5 8c2dc7b2bfe84bccf8d25d338bf75760 mhash-0.9.3.tar.gz 1021016
diff --git a/app-crypt/mhash/files/mhash-0.9.3-mhash_free.patch b/app-crypt/mhash/files/mhash-0.9.3-mhash_free.patch
new file mode 100644
index 000000000000..1500790c2732
--- /dev/null
+++ b/app-crypt/mhash/files/mhash-0.9.3-mhash_free.patch
@@ -0,0 +1,18 @@
+Don't get rid of old symbols, that are exported. Other stuff depends on them
+(eg PHP).
+diff -u -r mhash-0.9.3.new/lib/mhash.c mhash-0.9.3/lib/mhash.c
+--- lib/mhash.c 2005-12-07 03:55:30.000000000 +0000
++++ lib/mhash.c 2005-12-26 11:16:10.000000000 +0000
+@@ -623,6 +623,12 @@
+ return(ret);
+ }
+
++WIN32DLL_DEFINE void mhash_free(void *ptr)
++{
++ mutils_free(ptr);
++}
++
++
+ /*
+ Saves the state of a hashing algorithm such that it can be
+ restored at some later point in time using