pkgsrc/devel/xulrunner192/patches/patch-embedding_browser_gtk_src_EmbedPrivate.cpp
joerg 05a9d221d7 Global variables of types without default constructors may not be
constant. Fix issues with template look up. Disable visibility for clang
as it checks the consistency of type declarations and the old Mozilla
code is way too heavy to patch for that.
2012-11-18 01:55:52 +00:00

13 lines
530 B
C++

$NetBSD: patch-embedding_browser_gtk_src_EmbedPrivate.cpp,v 1.1 2012/11/18 01:55:52 joerg Exp $
--- embedding/browser/gtk/src/EmbedPrivate.cpp.orig 2012-11-17 18:28:43.000000000 +0000
+++ embedding/browser/gtk/src/EmbedPrivate.cpp
@@ -109,7 +109,7 @@ public:
NS_DECL_NSIDIRECTORYSERVICEPROVIDER2
};
-static const GTKEmbedDirectoryProvider kDirectoryProvider;
+static GTKEmbedDirectoryProvider kDirectoryProvider;
NS_IMPL_QUERY_INTERFACE2(GTKEmbedDirectoryProvider,
nsIDirectoryServiceProvider,