pkgsrc/security/steghide/patches/patch-aj
agc 69578ff1af Make this package compile and run with recent C++ from gcc4.
Take maintainership.

Anglicise some of the text in DESCR.
2007-10-02 19:03:11 +00:00

22 lines
559 B
Text

$NetBSD: patch-aj,v 1.1 2007/10/02 19:03:13 agc Exp $
--- src/MHashPP.cc 2003-10-05 11:17:50.000000000 +0100
+++ src/MHashPP.cc 2007-10-02 08:39:47.000000000 +0100
@@ -21,6 +21,8 @@
#include <cstdlib>
#include <string>
+#define _Bool bool
+
#include <mhash.h>
#include "BitString.h"
@@ -120,7 +122,7 @@
std::string MHashPP::getAlgorithmName (hashid id)
{
- char *name = mhash_get_hash_name (id) ;
+ char *name = (char *)mhash_get_hash_name (id) ;
std::string retval ;
if (name == NULL) {
retval = std::string ("<algorithm not found>") ;