pkgsrc/devel/xulrunner/patches/patch-am
tnn a14b596750 Import xulrunner-1.9.1 as devel/xulrunner.
XULRunner is a runtime environment for applications using the
XML User Interface Language, XUL. It is the successor of the "Gecko"
runtime environment.
2009-08-05 02:59:46 +00:00

17 lines
586 B
Text

$NetBSD: patch-am,v 1.1.1.1 2009/08/05 02:59:48 tnn 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 2009-06-29 18:15:13.000000000 +0200
+++ security/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