summaryrefslogtreecommitdiff
path: root/www/firefox24/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-05-15 21:16:16 +0000
committerjoerg <joerg@pkgsrc.org>2014-05-15 21:16:16 +0000
commitf642ef1fa726b4a2fc0dfc8304d2895df9c6859e (patch)
tree35bd3caee47ed5aec94cdaca230173ecc7866d29 /www/firefox24/patches
parentd716113860cdd7f4f074a6c840cd0cb4db967ba8 (diff)
downloadpkgsrc-f642ef1fa726b4a2fc0dfc8304d2895df9c6859e.tar.gz
Define initialisers in the headers like most cases already did,
otherwise they might not get emitted correctly. Deal with the freetype header move.
Diffstat (limited to 'www/firefox24/patches')
-rw-r--r--www/firefox24/patches/patch-content_svg_content_src_SVGComponentTransferFunctionElement.h13
-rw-r--r--www/firefox24/patches/patch-content_svg_content_src_nsSVGFilters.cpp22
-rw-r--r--www/firefox24/patches/patch-content_svg_content_src_nsSVGFilters.h13
3 files changed, 48 insertions, 0 deletions
diff --git a/www/firefox24/patches/patch-content_svg_content_src_SVGComponentTransferFunctionElement.h b/www/firefox24/patches/patch-content_svg_content_src_SVGComponentTransferFunctionElement.h
new file mode 100644
index 00000000000..096df5a19e6
--- /dev/null
+++ b/www/firefox24/patches/patch-content_svg_content_src_SVGComponentTransferFunctionElement.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-content_svg_content_src_SVGComponentTransferFunctionElement.h,v 1.1 2014/05/15 21:16:16 joerg Exp $
+
+--- content/svg/content/src/SVGComponentTransferFunctionElement.h.orig 2014-05-14 23:29:58.000000000 +0000
++++ content/svg/content/src/SVGComponentTransferFunctionElement.h
+@@ -74,6 +74,8 @@ protected:
+ 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/www/firefox24/patches/patch-content_svg_content_src_nsSVGFilters.cpp b/www/firefox24/patches/patch-content_svg_content_src_nsSVGFilters.cpp
new file mode 100644
index 00000000000..1ee72fa8680
--- /dev/null
+++ b/www/firefox24/patches/patch-content_svg_content_src_nsSVGFilters.cpp
@@ -0,0 +1,22 @@
+$NetBSD: patch-content_svg_content_src_nsSVGFilters.cpp,v 1.1 2014/05/15 21:16:16 joerg Exp $
+
+--- content/svg/content/src/nsSVGFilters.cpp.orig 2014-04-21 23:43:57.000000000 +0000
++++ 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/www/firefox24/patches/patch-content_svg_content_src_nsSVGFilters.h b/www/firefox24/patches/patch-content_svg_content_src_nsSVGFilters.h
new file mode 100644
index 00000000000..0749f9f3d39
--- /dev/null
+++ b/www/firefox24/patches/patch-content_svg_content_src_nsSVGFilters.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-content_svg_content_src_nsSVGFilters.h,v 1.1 2014/05/15 21:16:16 joerg Exp $
+
+--- content/svg/content/src/nsSVGFilters.h.orig 2014-04-21 23:43:57.000000000 +0000
++++ 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