svn commit: r320541 - head/security/steghide/files
Tilman Keskinoz
arved at FreeBSD.org
Tue Jun 11 08:42:16 UTC 2013
Author: arved
Date: Tue Jun 11 08:42:15 2013
New Revision: 320541
URL: http://svnweb.freebsd.org/changeset/ports/320541
Log:
Add patch to fix compilation with clang
Added:
head/security/steghide/files/patch-MHashPP.cc (contents, props changed)
Added: head/security/steghide/files/patch-MHashPP.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/steghide/files/patch-MHashPP.cc Tue Jun 11 08:42:15 2013 (r320541)
@@ -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>") ;
More information about the svn-ports-all
mailing list