pkgsrc/www/seamonkey/patches/patch-mozilla_ipc_ipdl_ipdl_cxx_ast.py
ryoon c6a65eeffc Update to 2.30
* Update enigmail to 1.7.2

Changelog:
* SeaMonkey specific changes are not available.
* Use xul engine from Firefox 33.
2014-11-02 05:40:31 +00:00

21 lines
906 B
Python

$NetBSD: patch-mozilla_ipc_ipdl_ipdl_cxx_ast.py,v 1.1 2014/11/02 05:40:31 ryoon Exp $
--- mozilla/ipc/ipdl/ipdl/cxx/ast.py.orig 2014-10-14 06:36:14.000000000 +0000
+++ mozilla/ipc/ipdl/ipdl/cxx/ast.py
@@ -336,12 +336,13 @@ Type.VOID = Type('void')
Type.VOIDPTR = Type('void', ptr=1)
class TypeArray(Node):
- def __init__(self, basetype, nmemb):
- '''the type |basetype DECLNAME[nmemb]|. |nmemb| is an Expr'''
+ def __init__(self, basetype, nmemb, alignType):
+ '''the type |basetype DECLNAME[nmemb]|. |nmemb| is an Expr, |alignType| is a type'''
self.basetype = basetype
self.nmemb = nmemb
+ self.alignType = alignType
def __deepcopy__(self, memo):
- return TypeArray(deepcopy(self.basetype, memo), nmemb)
+ return TypeArray(deepcopy(self.basetype, memo), nmemb, alignType)
class TypeEnum(Node):
def __init__(self, name=None):