Files
pkgsrc-ng/devel/nss/patches/patch-am
2014-11-05 12:41:07 +01:00

18 lines
566 B
Plaintext

$NetBSD: patch-am,v 1.4 2013/07/20 09:28:11 ryoon Exp $
SHA1_Update conflicts with openssl which may be dynamically loaded
at runtime via libcups or libgssapi so causing a crash due to using
the wrong binding. So rename here to avoid conflict.
--- nss/lib/freebl/blapi.h.orig 2009-06-29 18:15:13.000000000 +0200
+++ nss/lib/freebl/blapi.h
@@ -925,6 +925,8 @@ extern void SHA1_DestroyContext(SHA1Cont
*/
extern void SHA1_Begin(SHA1Context *cx);
+#define SHA1_Update NSS_SHA1_Update
+
/*
** Update the SHA-1 hash function with more data.
** "cx" the context