Files
pkgsrc-ng/devel/xulrunner17/patches/patch-am
2013-09-26 17:14:40 +02:00

18 lines
586 B
Plaintext

$NetBSD: patch-am,v 1.1 2013/01/10 16:17:10 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.
--- security/nss/lib/freebl/blapi.h.orig 2012-08-24 22:56:01.000000000 +0000
+++ security/nss/lib/freebl/blapi.h
@@ -1043,6 +1043,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