diff -r 5ba9b67de554 -r 65e317e42eff mozilla-kde.patch --- a/mozilla-kde.patch Sun Nov 05 08:25:41 2017 +0100 +++ b/mozilla-kde.patch Mon Nov 06 07:44:08 2017 +0100 @@ -2883,7 +2883,7 @@ new file mode 100644 --- /dev/null +++ b/uriloader/exthandler/unix/nsKDERegistry.cpp -@@ -0,0 +1,88 @@ +@@ -0,0 +1,87 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this @@ -2893,7 +2893,6 @@ +#include "prlink.h" +#include "prmem.h" +#include "nsString.h" -+#include "nsILocalFile.h" +#include "nsMIMEInfoUnix.h" +#include "nsAutoPtr.h" +#include "nsKDEUtils.h" @@ -2989,8 +2988,8 @@ +#include "nsTArray.h" + +class nsMIMEInfoBase; -+class nsAutoCString; -+class nsCString; ++//class nsAutoCString; ++//class nsCString; + +class nsKDERegistry +{ @@ -3354,7 +3353,7 @@ + if( mMode == modeOpen && mFilters.Length() == 1 && mFilters[ 0 ].EqualsLiteral( "..apps" )) + return kdeAppsDialog( aReturn ); + -+ nsXPIDLCString title; ++ nsCString title; + title.Adopt(ToNewUTF8String(mTitle)); + + const char* arg = NULL; @@ -3521,7 +3520,7 @@ + { + NS_ENSURE_ARG_POINTER(aReturn); + -+ nsXPIDLCString title; ++ nsCString title; + title.Adopt(ToNewUTF8String(mTitle)); + + nsTArray command;