diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-04-03 21:52:49 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-04-03 21:52:49 +0000 |
commit | f244e5e734c6e694771c7ca2dd78474d0955bc46 (patch) | |
tree | ae7fe61bd7a1f7a2e4a5966a456bd8c1df756f3a /mail | |
parent | d6706340fd90287063c2cd6b0026c391e50e5c1e (diff) | |
download | pkgsrc-f244e5e734c6e694771c7ca2dd78474d0955bc46.tar.gz |
Fix enigmail runtime error.
Reported by Jan Danielsson on pkgsrc-users@, thank you.
* Add NetBSD and DragonFly uname etc.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird/enigmail.mk | 4 | ||||
-rw-r--r-- | mail/thunderbird/files/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm | 14 |
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/thunderbird/enigmail.mk b/mail/thunderbird/enigmail.mk index 47b11d06e75..44dc7e24513 100644 --- a/mail/thunderbird/enigmail.mk +++ b/mail/thunderbird/enigmail.mk @@ -1,4 +1,4 @@ -# $NetBSD: enigmail.mk,v 1.5 2012/03/10 11:42:38 ryoon Exp $ +# $NetBSD: enigmail.mk,v 1.6 2012/04/03 21:52:49 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/thunderbird/files/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm b/mail/thunderbird/files/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm new file mode 100644 index 00000000000..ba75d400338 --- /dev/null +++ b/mail/thunderbird/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/03 21:52:50 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 ] + } |