diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-08-22 14:15:32 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-08-22 14:15:32 +0000 |
commit | 9598db18495cb2a21a15cff65b74cd570fd64268 (patch) | |
tree | 1a698012bc922d73df9b9608ba1922d513ef5438 /www | |
parent | 53a2c212d33c98baf79ccb9b4f939057e5f26d96 (diff) | |
download | pkgsrc-9598db18495cb2a21a15cff65b74cd570fd64268.tar.gz |
Fix build on SunOS. Patch from Thomas Merkel in NetBSD/pkgsrc#10.
Diffstat (limited to 'www')
-rw-r--r-- | www/SOGo3/distinfo | 4 | ||||
-rw-r--r-- | www/SOGo3/patches/patch-SoObjects_SOGo_NSData+Crypto.m | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/www/SOGo3/distinfo b/www/SOGo3/distinfo index 270b8740659..d55371bc158 100644 --- a/www/SOGo3/distinfo +++ b/www/SOGo3/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2017/07/01 22:14:42 joerg Exp $ +$NetBSD: distinfo,v 1.4 2017/08/22 14:15:32 jperkin Exp $ SHA1 (SOGo-3.2.9.tar.gz) = f7b9e129f242c6bbf2d3ed2630932302ca409274 RMD160 (SOGo-3.2.9.tar.gz) = 7a4dcdb52bdd2fbfd85f784d9600258ea95a7c72 SHA512 (SOGo-3.2.9.tar.gz) = 4fbda8a0aa275ce4d6e26a4ebd73d981d7c54bd7dee705a742747fc23483594fe490c034f1d2d6e232fa3437a033e1a2305e2c33f0317d42487831005a20ef57 Size (SOGo-3.2.9.tar.gz) = 32557925 bytes -SHA1 (patch-SoObjects_SOGo_NSData+Crypto.m) = 48f43d7919100f08d00749b66863b47f1693e84a +SHA1 (patch-SoObjects_SOGo_NSData+Crypto.m) = 2382dfc4c0a47891882f8d3377c403fe5fc0da56 diff --git a/www/SOGo3/patches/patch-SoObjects_SOGo_NSData+Crypto.m b/www/SOGo3/patches/patch-SoObjects_SOGo_NSData+Crypto.m index 4209c9c0b98..59c2a66186d 100644 --- a/www/SOGo3/patches/patch-SoObjects_SOGo_NSData+Crypto.m +++ b/www/SOGo3/patches/patch-SoObjects_SOGo_NSData+Crypto.m @@ -1,6 +1,11 @@ -$NetBSD: patch-SoObjects_SOGo_NSData+Crypto.m,v 1.1 2017/07/01 22:14:42 joerg Exp $ +$NetBSD: patch-SoObjects_SOGo_NSData+Crypto.m,v 1.2 2017/08/22 14:15:33 jperkin Exp $ ---- SoObjects/SOGo/NSData+Crypto.m.orig 2017-07-01 20:55:22.227865760 +0000 +Expect crypt(3) to be provided by unistd.h, not the ancient crypt.h. +Update _XOPEN_SOURCE for SUSv3 / POSIX.1-2001 + +https://github.com/inverse-inc/sogo/pull/238 + +--- SoObjects/SOGo/NSData+Crypto.m.orig 2017-05-09 13:12:07.000000000 +0000 +++ SoObjects/SOGo/NSData+Crypto.m @@ -23,16 +23,11 @@ * Boston, MA 02111-1307, USA. @@ -9,7 +14,7 @@ $NetBSD: patch-SoObjects_SOGo_NSData+Crypto.m,v 1.1 2017/07/01 22:14:42 joerg Ex -#if !defined(__OpenBSD__) && !defined(__FreeBSD__) -#include <crypt.h> -#endif -+#define _XOPEN_SOURCE 1 ++#define _XOPEN_SOURCE 600 #include <fcntl.h> #include <unistd.h> |