Add a patch to allow building with the version of mozilla currently in the
ports tree. Submitted by: Thomas M. Hermann <Thomas.Hermann@cox.net>
This commit is contained in:
parent
94d6949794
commit
d822f68dab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67369
19
www/skipstone/files/patch-ab
Normal file
19
www/skipstone/files/patch-ab
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/mozilla.cpp.orig Mon Sep 30 07:27:17 2002
|
||||
+++ src/mozilla.cpp Mon Sep 30 07:28:14 2002
|
||||
@@ -62,6 +62,7 @@
|
||||
#include "nsIContentViewerFile.h"
|
||||
#include "nsIPrintOptions.h"
|
||||
#include "nsIPrintSettings.h"
|
||||
+#include "nsIPrintSettingsService.h"
|
||||
#include "nsIWebBrowserPrint.h"
|
||||
#include "skipstone-print.h"
|
||||
#include "debug.h"
|
||||
@@ -203,7 +204,7 @@
|
||||
#ifdef NS_WITH_SERVICE
|
||||
NS_WITH_SERVICE(nsIPrintOptions, options, kPrintOptionsCID, &result);
|
||||
#else
|
||||
- nsCOMPtr<nsIPrintOptions> options = do_GetService(kPrintOptionsCID, &result);
|
||||
+ nsCOMPtr<nsIPrintSettingsService> options = do_GetService(kPrintOptionsCID, &result);
|
||||
#endif
|
||||
if (NS_FAILED(result)) D_RETURN_ ( NS_ERROR_FAILURE );
|
||||
|
Loading…
Reference in New Issue
Block a user