SOURCES: galeon-build_fix.patch (NEW) - fix build errors caused by...

hawk hawk at pld-linux.org
Thu Mar 27 23:33:56 CET 2008


Author: hawk                         Date: Thu Mar 27 22:33:56 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build errors caused by #ifdef'ed MOZILLA_INTERNAL_API

---- Files affected:
SOURCES:
   galeon-build_fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/galeon-build_fix.patch
diff -u /dev/null SOURCES/galeon-build_fix.patch:1.1
--- /dev/null	Thu Mar 27 23:33:56 2008
+++ SOURCES/galeon-build_fix.patch	Thu Mar 27 23:33:51 2008
@@ -0,0 +1,30 @@
+diff -ur galeon-2.0.5.orig/mozilla/MozillaPrivate.cpp galeon-2.0.5/mozilla/MozillaPrivate.cpp
+--- galeon-2.0.5.orig/mozilla/MozillaPrivate.cpp	2008-02-03 01:05:22.000000000 +0100
++++ galeon-2.0.5/mozilla/MozillaPrivate.cpp	2008-03-27 23:15:59.000000000 +0100
+@@ -24,13 +24,11 @@
+ #include "config.h"
+ #endif
+ 
+-#ifdef HAVE_NSSTRING_INTERNAL
+-/***** BEGIN UNSAFE HEADERS ******/
+ #define MOZILLA_INTERNAL_API
++/***** BEGIN UNSAFE HEADERS ******/
+ #include <nsICSSLoader.h>
+ #include <nsICSSStyleSheet.h>
+ #include <nsIHTMLDocument.h>
+-#endif
+ 
+ #include <nsIPrintOptions.h>
+ #include <nsIDocument.h>
+@@ -40,10 +38,8 @@
+ #include <nsStringAPI.h>
+ 
+ #include "MozillaPrivate.h"
+-#ifdef HAVE_NSSTRING_INTERNAL
+-#undef MOZILLA_INTERNAL_API
+ /***** END UNSAFE HEADERS ******/
+-#endif
++#undef MOZILLA_INTERNAL_API
+ 
+ #include <nsServiceManagerUtils.h>
+ #include <nsISupportsPrimitives.h>
================================================================


More information about the pld-cvs-commit mailing list