summaryrefslogtreecommitdiff
path: root/mail/thunderbird
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-05-19 10:52:28 +0000
committerjoerg <joerg@pkgsrc.org>2014-05-19 10:52:28 +0000
commit37ede24bf9a5be0e9ac25c8e32dc4554eb7a92a9 (patch)
tree85b11c4c5beeab0a44b076bd6222d26da4597cf6 /mail/thunderbird
parentc1b390c1034a8971781dd3eddb33282994bf0b81 (diff)
downloadpkgsrc-37ede24bf9a5be0e9ac25c8e32dc4554eb7a92a9.tar.gz
Define static members consistently in the header, lost patches.
Diffstat (limited to 'mail/thunderbird')
-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