diff options
author | joerg <joerg@pkgsrc.org> | 2011-12-23 01:16:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-12-23 01:16:27 +0000 |
commit | f254d29f4d3bcb524c384ef16e4186817bd48f9a (patch) | |
tree | 66cc6c49a95a86c9d2f1432f4ef121622d679fc1 | |
parent | 0526575dd0c09390b08d5273176c6e3f0d7a6b0d (diff) | |
download | pkgsrc-f254d29f4d3bcb524c384ef16e4186817bd48f9a.tar.gz |
Make sure that the directory exists before writing the output from the
idl-parser. Fixes the race conditions seen recently.
-rw-r--r-- | devel/xulrunner/distinfo | 3 | ||||
-rw-r--r-- | devel/xulrunner/patches/patch-xpcom_idl-parser_header.py | 17 | ||||
-rw-r--r-- | mail/thunderbird/distinfo | 3 | ||||
-rw-r--r-- | mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py | 17 | ||||
-rw-r--r-- | www/seamonkey/distinfo | 3 | ||||
-rw-r--r-- | www/seamonkey/patches/patch-mozilla_xpcom_idl-parser_header.py | 17 |
6 files changed, 57 insertions, 3 deletions
diff --git a/devel/xulrunner/distinfo b/devel/xulrunner/distinfo index 5e92e83f42b..6d63b5b9c42 100644 --- a/devel/xulrunner/distinfo +++ b/devel/xulrunner/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.55 2011/11/27 13:09:00 tnn Exp $ +$NetBSD: distinfo,v 1.56 2011/12/23 01:16:27 joerg Exp $ SHA1 (firefox-8.0.source.tar.bz2) = 843cf4ad70d2fc4b16654c3ff9b080d3eb357452 RMD160 (firefox-8.0.source.tar.bz2) = f87ec7668b2dcc1bb581b97e1dbe85e4b97cb31c @@ -76,3 +76,4 @@ SHA1 (patch-xl) = afd74085c01d207907d0b3bfc040bf92fd1ba8b1 SHA1 (patch-xm) = 072240b71e4738e96d258fcd481698464623735e SHA1 (patch-xn) = b0d0943b2bc39d8395055550c0fedfa447a5de01 SHA1 (patch-xo) = 437cbc7e0ed8777ae2313165f8754759d8eee01d +SHA1 (patch-xpcom_idl-parser_header.py) = cd14f4056a31f15066aebb85e5c14fba2aa37f13 diff --git a/devel/xulrunner/patches/patch-xpcom_idl-parser_header.py b/devel/xulrunner/patches/patch-xpcom_idl-parser_header.py new file mode 100644 index 00000000000..8e55ff57a25 --- /dev/null +++ b/devel/xulrunner/patches/patch-xpcom_idl-parser_header.py @@ -0,0 +1,17 @@ +$NetBSD: patch-xpcom_idl-parser_header.py,v 1.1 2011/12/23 01:16:27 joerg Exp $ + +--- xpcom/idl-parser/header.py.orig 2011-12-22 00:35:28.000000000 +0000 ++++ xpcom/idl-parser/header.py +@@ -521,6 +521,12 @@ if __name__ == '__main__': + outfd.close() + + if options.depfile is not None: ++ dirname = os.path.dirname(options.depfile) ++ if dirname: ++ try: ++ os.makedirs(dirname) ++ except: ++ pass + depfd = open(options.depfile, 'w') + deps = [dep.replace('\\', '/') for dep in idl.deps] + diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo index a6d69116c73..ea88d0b718d 100644 --- a/mail/thunderbird/distinfo +++ b/mail/thunderbird/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.86 2011/11/27 13:09:00 tnn Exp $ +$NetBSD: distinfo,v 1.87 2011/12/23 01:16:27 joerg Exp $ SHA1 (enigmail-1.3.3.tar.gz) = a6d61b6dbdcfdb0dc4eaa8aac1b6277fed65c8c5 RMD160 (enigmail-1.3.3.tar.gz) = 4c7ab726052b566f913612cfbdd767714486bf9c @@ -60,6 +60,7 @@ SHA1 (patch-mk) = 3c25934e0c7b9277d96a5635b961e1fb6682ab7b SHA1 (patch-ml) = ef7d87fff48f298f4c1ed037439eaf8c7c574f68 SHA1 (patch-mm) = f54286fe1acef3202d728b3e83cbd65cffe8ab12 SHA1 (patch-mn) = 3a1c25a3f5a1532331424fc1e720f35cd0ed5d5b +SHA1 (patch-mozilla_xpcom_idl-parser_header.py) = 38313ee3f2f7b45d4968c08be0af3ff36560baff SHA1 (patch-mp) = 673ba7fb0426d13699ead5fbcf762d8adb6baf40 SHA1 (patch-pa) = a41a2dadd3b1c902f85632a4b57008a789b269bc SHA1 (patch-pb) = 11dada932534519ccf54998d027cf6f69d7b0d1d diff --git a/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py b/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py new file mode 100644 index 00000000000..35296e7b445 --- /dev/null +++ b/mail/thunderbird/patches/patch-mozilla_xpcom_idl-parser_header.py @@ -0,0 +1,17 @@ +$NetBSD: patch-mozilla_xpcom_idl-parser_header.py,v 1.1 2011/12/23 01:16:28 joerg Exp $ + +--- mozilla/xpcom/idl-parser/header.py.orig 2011-12-22 00:35:28.000000000 +0000 ++++ mozilla/xpcom/idl-parser/header.py +@@ -521,6 +521,12 @@ if __name__ == '__main__': + outfd.close() + + if options.depfile is not None: ++ dirname = os.path.dirname(options.depfile) ++ if dirname: ++ try: ++ os.makedirs(dirname) ++ except: ++ pass + depfd = open(options.depfile, 'w') + deps = [dep.replace('\\', '/') for dep in idl.deps] + diff --git a/www/seamonkey/distinfo b/www/seamonkey/distinfo index 9f41a947101..f4cc6fd9008 100644 --- a/www/seamonkey/distinfo +++ b/www/seamonkey/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.70 2011/11/27 13:09:00 tnn Exp $ +$NetBSD: distinfo,v 1.71 2011/12/23 01:16:27 joerg Exp $ SHA1 (seamonkey-2.5b4.source.tar.bz2) = 74b8b9a415b97e4e3242db516fa57ed8b9f43dfe RMD160 (seamonkey-2.5b4.source.tar.bz2) = 1ed9a59457b7bafe2aed2071908822b98225dddc @@ -57,6 +57,7 @@ SHA1 (patch-mk) = 3c25934e0c7b9277d96a5635b961e1fb6682ab7b SHA1 (patch-ml) = ef7d87fff48f298f4c1ed037439eaf8c7c574f68 SHA1 (patch-mm) = f54286fe1acef3202d728b3e83cbd65cffe8ab12 SHA1 (patch-mn) = 3a1c25a3f5a1532331424fc1e720f35cd0ed5d5b +SHA1 (patch-mozilla_xpcom_idl-parser_header.py) = 38313ee3f2f7b45d4968c08be0af3ff36560baff SHA1 (patch-mp) = 673ba7fb0426d13699ead5fbcf762d8adb6baf40 SHA1 (patch-pa) = a41a2dadd3b1c902f85632a4b57008a789b269bc SHA1 (patch-pb) = 11dada932534519ccf54998d027cf6f69d7b0d1d diff --git a/www/seamonkey/patches/patch-mozilla_xpcom_idl-parser_header.py b/www/seamonkey/patches/patch-mozilla_xpcom_idl-parser_header.py new file mode 100644 index 00000000000..2ea6c060145 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_xpcom_idl-parser_header.py @@ -0,0 +1,17 @@ +$NetBSD: patch-mozilla_xpcom_idl-parser_header.py,v 1.1 2011/12/23 01:16:27 joerg Exp $ + +--- mozilla/xpcom/idl-parser/header.py.orig 2011-12-22 00:35:28.000000000 +0000 ++++ mozilla/xpcom/idl-parser/header.py +@@ -521,6 +521,12 @@ if __name__ == '__main__': + outfd.close() + + if options.depfile is not None: ++ dirname = os.path.dirname(options.depfile) ++ if dirname: ++ try: ++ os.makedirs(dirname) ++ except: ++ pass + depfd = open(options.depfile, 'w') + deps = [dep.replace('\\', '/') for dep in idl.deps] + |