mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Add patch to fix compilation with clang
This commit is contained in:
parent
55cd3804fa
commit
3279c626da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320541
11
security/steghide/files/patch-MHashPP.cc
Normal file
11
security/steghide/files/patch-MHashPP.cc
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/MHashPP.cc.orig 2013-06-11 10:25:36.000000000 +0200
|
||||
+++ src/MHashPP.cc 2013-06-11 10:29:34.000000000 +0200
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
std::string MHashPP::getAlgorithmName (hashid id)
|
||||
{
|
||||
- char *name = mhash_get_hash_name (id) ;
|
||||
+ char *name = reinterpret_cast<char *>(mhash_get_hash_name (id)) ;
|
||||
std::string retval ;
|
||||
if (name == NULL) {
|
||||
retval = std::string ("<algorithm not found>") ;
|
Loading…
Reference in New Issue
Block a user