pkgsrc/security/skey/patches/patch-ai
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
627 B
Text

$NetBSD: patch-ai,v 1.1 2008/12/13 13:58:31 obache Exp $
include "config.h" before using HAVE_* macro.
--- sha1hl.c.orig 2001-05-10 16:10:49.000000000 +0000
+++ sha1hl.c
@@ -6,6 +6,8 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*/
+#include "config.h"
+
#ifndef HAVE_SHA1_H
#if defined(LIBC_SCCS) && !defined(lint)
@@ -19,7 +21,6 @@ static char rcsid[] = "$OpenBSD: sha1hl.
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
-#include "config.h"
#include "sha1.h"
/* ARGSUSED */