This patch records the library name and constants expected for debian
GNU/kFreeBSD.  Without this line, enigmail 1.6 on that platform
fails with:

[ERROR] enigmail.js: Enigmail.setAgentPath: subprocess.call failed with 
'TypeError: platformDefaults[gXulRuntime.OS.toLowerCase(...)] is undefined'
---
 ipc/modules/subprocess.jsm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ipc/modules/subprocess.jsm b/ipc/modules/subprocess.jsm
index 7b3ccd6..3de6ccc 100644
--- a/ipc/modules/subprocess.jsm
+++ b/ipc/modules/subprocess.jsm
@@ -333,6 +333,7 @@ function getPlatformValue(valueType) {
         'darwin':  [ 'libc.dylib',   0x04     , ctypes.uint64_t     , 8 ],
         'linux':   [ 'libc.so.6',    2024     , ctypes.unsigned_long, 7 ],
         'freebsd': [ 'libc.so.7',    0x04     , ctypes.int64_t      , 8 ],
+        'gnu/kfreebsd': [ 'libc.so.0.1', 0x04 , ctypes.int64_t      , 8 ],
         'openbsd': [ 'libc.so.61.0', 0x04     , ctypes.int64_t      , 8 ],
         'sunos':   [ 'libc.so',      0x80     , ctypes.unsigned_long, 5 ]
     };
-- 
1.8.4.2


_______________________________________________
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to