pkgsrc/security/hydan/patches/patch-ad
he 6d056130e1 Add patches to work around compile problems for this package on
NetBSD-1.6.2_STABLE.  Gets rid of a parse error when only one
argument is given to HDN_WARN, which leaves us with "fprintf(fp, arg, )".
This may be a failure of the compiler on this platform to properly
do varargs macros, but the changes are noops and gets it building there.
2004-09-16 16:12:57 +00:00

22 lines
756 B
Text

$NetBSD: patch-ad,v 1.1 2004/09/16 16:12:57 he Exp $
--- hdn_stats.c.orig Thu Jun 24 00:35:17 2004
+++ hdn_stats.c
@@ -99,7 +99,7 @@ static uint32_t _count_fns (char *argv0)
*/
if (!(sh = hdn_exe_get_sections (host_data->content)))
{
- HDN_WARN ("Error extracting .text segment from host file");
+ HDN_WARN ("Error extracting .text segment from host file", "");
goto out;
}
@@ -327,7 +327,7 @@ int hdn_stats_main (int argc, char **arg
*/
if (!(sh = hdn_exe_get_sections (host_data->content)))
{
- HDN_WARN ("Error extracting .text segment from host file");
+ HDN_WARN ("Error extracting .text segment from host file", "");
goto out;
}