pkgsrc/security/skey/patches/patch-ae
obache 15debaac89 * Fixes mismatch between the section and extension of skeyprune.
* skeyprune is perl script, need runtime dependency on perl5.
* Fixes mis-use of config.h (patch-a[d-i]), avoid to use a mixture of
  local hash function with system RMD header.
  Fixes build failure reported by PR 39872 and PR 39953.

Bump PKGREVISION.
2008-12-13 13:58:31 +00:00

23 lines
502 B
Text

$NetBSD: patch-ae,v 1.1 2008/12/13 13:58:31 obache Exp $
include "config.h" before using HAVE_* macro.
--- md5c.c.orig 2001-05-10 16:10:49.000000000 +0000
+++ md5c.c
@@ -22,6 +22,8 @@ These notices must be retained in any co
documentation and/or software.
*/
+#include "config.h"
+
#ifndef HAVE_MD5_H
#if defined(LIBC_SCCS) && !defined(lint)
@@ -30,7 +32,6 @@ static char rcsid[] = "$OpenBSD: md5c.c,
#include <string.h>
#include <sys/types.h>
-#include "config.h"
#include "md5.h"