Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116769 - app-crypt/mhash-0.9.3 has no "mhash_free"
Summary: app-crypt/mhash-0.9.3 has no "mhash_free"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-26 04:06 UTC by Michael Cramer
Modified: 2005-12-26 19:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mhash-0.9.3-free.diff (mhash-0.9.3-free.diff,394 bytes, patch)
2005-12-26 04:06 UTC, Michael Cramer
Details | Diff
mhash-0.9.3.ebuild (mhash-0.9.3.ebuild,1004 bytes, text/plain)
2005-12-26 04:07 UTC, Michael Cramer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cramer 2005-12-26 04:06:00 UTC
upgrading to mhash-0.9.3 results in programms no longer working which uses mhash library, because mhash_free function isn't in the library. e.g. php with mhash failes, also recompiling php fails with: 
/usr/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
osdep.c:(.text+0xa668): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
ext/mhash/mhash.o: In function `zif_mhash':
mhash.c:(.text+0x2c2): undefined reference to `mhash_free'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Fehler 1

with the attached patch it works, perhaps someone can verify this and put the patch in portage or hard mask mhash-0.9.3
Comment 1 Michael Cramer 2005-12-26 04:06:45 UTC
Created attachment 75545 [details, diff]
mhash-0.9.3-free.diff

the patch wich includes the missing funtion, this is taken from 0.9.2
Comment 2 Michael Cramer 2005-12-26 04:07:13 UTC
Created attachment 75546 [details]
mhash-0.9.3.ebuild

changed ebuild for including the patch
Comment 3 Ivan Yosifov 2005-12-26 10:00:48 UTC
The patch works here ! Thanks and Merry Christmas !
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-12-26 19:05:38 UTC
thanks for the patch. I modified it slightly, and also submitted it to upstream.