mozilla-system-nspr.patch
branchmozilla-1.9.2
changeset 64 7bb1edb78dd5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-system-nspr.patch	Fri Apr 09 20:51:09 2010 +0200
@@ -0,0 +1,41 @@
+# HG changeset patch
+# Date 1270816624 -7200
+# User Wolfgang Rosenauer <wr@rosenauer.org>
+# Parent b2b5137c9473108008a9ff0fd1f858aa400040e8
+Bug 558299 - ipc does not build with system nspr.
+
+diff --git a/ipc/chromium/src/base/basictypes.h b/ipc/chromium/src/base/basictypes.h
+--- a/ipc/chromium/src/base/basictypes.h
++++ b/ipc/chromium/src/base/basictypes.h
+@@ -14,29 +14,29 @@
+ #error You_must_include_basictypes.h_before_prtypes.h!
+ #endif
+ 
+ #ifndef NO_NSPR_10_SUPPORT
+ #define NO_NSPR_10_SUPPORT
+ #define NO_NSPR_10_SUPPORT_SAVE
+ #endif
+ 
+-#include "nspr/prtypes.h"
++#include "prtypes.h"
+ 
+ #ifdef NO_NSPR_10_SUPPORT_SAVE
+ #undef NO_NSPR_10_SUPPORT_SAVE
+ #undef NO_NSPR_10_SUPPORT
+ #endif
+ 
+ #ifdef _WIN32
+ #undef _WIN32
+ #define _WIN32_SAVE
+ #endif
+ 
+-#include "nspr/obsolete/protypes.h"
++#include "obsolete/protypes.h"
+ 
+ #define _INT32
+ #define _UINT32
+ 
+ #ifdef _WIN32_SAVE
+ #undef _WIN32_SAVE
+ #define _WIN32
+ #endif