Control: tags 853947 + patch

Just passing on a note from upstream here…

     --dkg

--- Begin Message ---

Try this patch? I just added it to certs.h directly

Paul
diff --git a/include/certs.h b/include/certs.h
index 713cc39..4be68e6 100644
--- a/include/certs.h
+++ b/include/certs.h
@@ -4,6 +4,7 @@
  * Copyright (C) 2009 Paul Wouters <p...@xelerance.com>
  * Copyright (C) 2009 Avesh Agarwal <avaga...@redhat.com>
  * Copyright (C) 2012-2013 Paul Wouters <p...@libreswan.org>
+ * Copyright (C) 2017 Paul Wouters <pwout...@redhat.com>
  * Copyright (C) 2013 Tuomo Soini <t...@foobar.fi>
  * Copyright (C) 2013 Matt Rogers <mrog...@redhat.com>
  *
@@ -22,6 +23,19 @@
 #ifndef _CERTS_H
 #define _CERTS_H
 
+/* workaround for NSS/NSPR bug on MIPS with cert.h */
+#ifndef _ABIO32
+# define _ABIO32        1
+#endif
+
+#ifndef _ABIN32
+# define _ABIN32        2
+#endif
+
+#ifndef _ABI64
+# define _ABI64         3
+#endif
+
 #include <cert.h> /* NSS */
 #include "x509.h"
 

--- End Message ---

Reply via email to