]> git.pld-linux.org Git - packages/galeon.git/commitdiff
- fix build errors caused by #ifdef'ed MOZILLA_INTERNAL_API auto/th/galeon-2_0_5-2
authorhawk <hawk@pld-linux.org>
Thu, 27 Mar 2008 22:33:51 +0000 (22:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    galeon-build_fix.patch -> 1.1

galeon-build_fix.patch [new file with mode: 0644]

diff --git a/galeon-build_fix.patch b/galeon-build_fix.patch
new file mode 100644 (file)
index 0000000..98a1c48
--- /dev/null
@@ -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>
This page took 0.029786 seconds and 4 git commands to generate.