summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjoerg <joerg>2014-05-19 10:52:28 +0000
committerjoerg <joerg>2014-05-19 10:52:28 +0000
commit396abf044d8907f7c9709e174afb5626be099ae3 (patch)
treebf9848045af885101d6e2158dad47d3104d74c3a /mail
parent81edaef8e885fd0c445c94fa47b8947d61a5187f (diff)
downloadpkgsrc-396abf044d8907f7c9709e174afb5626be099ae3.tar.gz
Define static members consistently in the header, lost patches.
Diffstat (limited to 'mail')
-rw-r--r--mail/thunderbird/patches/patch-mozilla_content_svg_content_src_SVGComponentTransferFunctionElement.h12
-rw-r--r--mail/thunderbird/patches/patch-mozilla_content_svg_content_src_nsSVGFilters.cpp22
-rw-r--r--mail/thunderbird/patches/patch-mozilla_content_svg_content_src_nsSVGFilters.h13
3 files changed, 47 insertions, 0 deletions
diff --git a/mail/thunderbird/patches/patch-mozilla_content_svg_content_src_SVGComponentTransferFunctionElement.h b/mail/thunderbird/patches/patch-mozilla_content_svg_content_src_SVGComponentTransferFunctionElement.h
new file mode 100644
index 00000000000..429243b3921
--- /dev/null
+++ b/mail/thunderbird/patches/patch-mozilla_content_svg_content_src_SVGComponentTransferFunctionElement.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-mozilla_content_svg_content_src_SVGComponentTransferFunctionElement.h,v 1.1 2014/05/19 10:52:28 joerg Exp $
+
+--- mozilla/content/svg/content/src/SVGComponentTransferFunctionElement.h.orig 2014-05-16 17:37:38.000000000 +0000
++++ mozilla/content/svg/content/src/SVGComponentTransferFunctionElement.h
+@@ -73,6 +73,7 @@ protected:
+ static nsSVGEnumMapping sTypeMap[];
+ static EnumInfo sEnumInfo[1];
+ };
++NS_DEFINE_STATIC_IID_ACCESSOR(SVGComponentTransferFunctionElement, NS_SVG_FE_COMPONENT_TRANSFER_FUNCTION_ELEMENT_CID)
+
+ } // namespace dom
+ } // namespace mozilla
diff --git a/mail/thunderbird/patches/patch-mozilla_content_svg_content_src_nsSVGFilters.cpp b/mail/thunderbird/patches/patch-mozilla_content_svg_content_src_nsSVGFilters.cpp
new file mode 100644
index 00000000000..b48d1119ec0
--- /dev/null
+++ b/mail/thunderbird/patches/patch-mozilla_content_svg_content_src_nsSVGFilters.cpp
@@ -0,0 +1,22 @@
+$NetBSD: patch-mozilla_content_svg_content_src_nsSVGFilters.cpp,v 1.1 2014/05/19 10:52:28 joerg Exp $
+
+--- mozilla/content/svg/content/src/nsSVGFilters.cpp.orig 2014-04-24 16:26:42.000000000 +0000
++++ mozilla/content/svg/content/src/nsSVGFilters.cpp
+@@ -95,7 +95,7 @@ nsSVGElement::LengthInfo nsSVGFE::sLengt
+ NS_IMPL_ADDREF_INHERITED(nsSVGFE,nsSVGFEBase)
+ NS_IMPL_RELEASE_INHERITED(nsSVGFE,nsSVGFEBase)
+
+-NS_DEFINE_STATIC_IID_ACCESSOR(nsSVGFE, NS_SVG_FE_CID)
++//NS_DEFINE_STATIC_IID_ACCESSOR(nsSVGFE, NS_SVG_FE_CID)
+
+ NS_INTERFACE_MAP_BEGIN(nsSVGFE)
+ // nsISupports is an ambiguous base of nsSVGFE so we have to work
+@@ -357,8 +357,6 @@ nsSVGElement::EnumInfo SVGComponentTrans
+ NS_IMPL_ADDREF_INHERITED(SVGComponentTransferFunctionElement,SVGComponentTransferFunctionElementBase)
+ NS_IMPL_RELEASE_INHERITED(SVGComponentTransferFunctionElement,SVGComponentTransferFunctionElementBase)
+
+-NS_DEFINE_STATIC_IID_ACCESSOR(SVGComponentTransferFunctionElement, NS_SVG_FE_COMPONENT_TRANSFER_FUNCTION_ELEMENT_CID)
+-
+ NS_INTERFACE_MAP_BEGIN(SVGComponentTransferFunctionElement)
+ // nsISupports is an ambiguous base of nsSVGFE so we have to work
+ // around that
diff --git a/mail/thunderbird/patches/patch-mozilla_content_svg_content_src_nsSVGFilters.h b/mail/thunderbird/patches/patch-mozilla_content_svg_content_src_nsSVGFilters.h
new file mode 100644
index 00000000000..e84412e167a
--- /dev/null
+++ b/mail/thunderbird/patches/patch-mozilla_content_svg_content_src_nsSVGFilters.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-mozilla_content_svg_content_src_nsSVGFilters.h,v 1.1 2014/05/19 10:52:28 joerg Exp $
+
+--- mozilla/content/svg/content/src/nsSVGFilters.h.orig 2014-04-24 16:26:42.000000000 +0000
++++ mozilla/content/svg/content/src/nsSVGFilters.h
+@@ -233,6 +233,8 @@ protected:
+ static LengthInfo sLengthInfo[4];
+ };
+
++NS_DEFINE_STATIC_IID_ACCESSOR(nsSVGFE, NS_SVG_FE_CID)
++
+ typedef nsSVGElement SVGFEUnstyledElementBase;
+
+ class SVGFEUnstyledElement : public SVGFEUnstyledElementBase