pkgsrc/security/skey/patches/patch-ah
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

22 lines
554 B
Text

$NetBSD: patch-ah,v 1.1 2008/12/13 13:58:31 obache Exp $
include "config.h" before using HAVE_* macro.
--- sha1.c.orig 2001-05-10 16:10:49.000000000 +0000
+++ sha1.c
@@ -13,13 +13,14 @@
* A million repetitions of "a"
* 34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F
*/
+#include "config.h"
+
#ifndef HAVE_SHA1_H
#define SHA1HANDSOFF /* Copies data before messing with it. */
#include <sys/param.h>
#include <string.h>
-#include "config.h"
#include "sha1.h"
#define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))