summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-04-04 20:05:09 +0000
committerryoon <ryoon@pkgsrc.org>2012-04-04 20:05:09 +0000
commit18128db2dd90025e4cbf11e78302cdd07bcc4987 (patch)
treeb10546bf0df34b8e814772a51e8e00cc77f1db95 /mail
parentb7736d146438f836dafb4c2bac8a7cb8edfbfecf (diff)
downloadpkgsrc-18128db2dd90025e4cbf11e78302cdd07bcc4987.tar.gz
* Fix enigmail runtime error
** Add NetBSD and DragonFly uname etc. * Readd enigmail distfile
Diffstat (limited to 'mail')
-rw-r--r--mail/thunderbird10/distinfo5
-rw-r--r--mail/thunderbird10/enigmail.mk4
-rw-r--r--mail/thunderbird10/files/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm14
3 files changed, 21 insertions, 2 deletions
diff --git a/mail/thunderbird10/distinfo b/mail/thunderbird10/distinfo
index cb7c8c10554..11d2f475c65 100644
--- a/mail/thunderbird10/distinfo
+++ b/mail/thunderbird10/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2012/04/04 20:05:44 ryoon Exp $
+SHA1 (enigmail-1.4.tar.gz) = 1ee4bcd8d38685af44c1aeeea4fbba7bf30513e4
+RMD160 (enigmail-1.4.tar.gz) = b3c717e150c826faae1daa09806e07dd16619c51
+Size (enigmail-1.4.tar.gz) = 1323467 bytes
SHA1 (thunderbird-10.0.3esr.source.tar.bz2) = d348e4b630750685556811279f876ba885ba28b3
RMD160 (thunderbird-10.0.3esr.source.tar.bz2) = d04e24f4fd50b2aab923d25e44fa59b3dbef2404
Size (thunderbird-10.0.3esr.source.tar.bz2) = 97709099 bytes
diff --git a/mail/thunderbird10/enigmail.mk b/mail/thunderbird10/enigmail.mk
index f511156bd44..8946d4e6efb 100644
--- a/mail/thunderbird10/enigmail.mk
+++ b/mail/thunderbird10/enigmail.mk
@@ -1,4 +1,4 @@
-# $NetBSD: enigmail.mk,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $
+# $NetBSD: enigmail.mk,v 1.2 2012/04/04 20:05:44 ryoon Exp $
#
# This Makefile fragment hooks the Enigmail OpenPGP extension
# (see http://www.mozilla-enigmail.org/ ) into the build.
@@ -21,6 +21,8 @@ post-extract: enigmail-post-extract
.PHONY: enigmail-post-extract
enigmail-post-extract:
${RUN} mv ${WRKDIR}/enigmail ${WRKSRC}/mailnews/extensions/
+ ${RUN} cd ${WRKSRC} && \
+ ${PATCH} < ${FILESDIR}/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm
post-configure: enigmail-post-configure
.PHONY: enigmail-post-configure
diff --git a/mail/thunderbird10/files/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm b/mail/thunderbird10/files/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm
new file mode 100644
index 00000000000..6085c31e80d
--- /dev/null
+++ b/mail/thunderbird10/files/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm
@@ -0,0 +1,14 @@
+$NetBSD: mailnews_extensions_enigmail_ipc_modules_subprocess.jsm,v 1.1 2012/04/04 20:05:44 ryoon Exp $
+
+--- mailnews/extensions/enigmail/ipc/modules/subprocess.jsm.orig 2012-02-09 16:50:47.000000000 +0000
++++ mailnews/extensions/enigmail/ipc/modules/subprocess.jsm
+@@ -312,7 +312,9 @@ function getPlatformValue(valueType) {
+ // library name O_NONBLOCK RLIM_T RLIMIT_NOFILE
+ 'darwin': [ 'libc.dylib', 0x04 , ctypes.uint64_t , 8 ],
+ 'linux': [ 'libc.so.6', 2024 , ctypes.unsigned_long, 7 ],
++ 'dragonfly': [ 'libc.so', 0x04 , ctypes.int64_t , 8 ],
+ 'freebsd': [ 'libc.so.7', 0x04 , ctypes.int64_t , 8 ],
++ 'netbsd': [ 'libc.so', 0x04 , ctypes.int64_t , 8 ],
+ 'openbsd': [ 'libc.so.61.0', 0x04 , ctypes.int64_t , 8 ],
+ 'sunos': [ 'libc.so', 0x80 , ctypes.unsigned_long, 5 ]
+ }