pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/SOGo3 Expect crypt(3) to be provided by unistd.h, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3d56d09bcaa
branches:  trunk
changeset: 364620:d3d56d09bcaa
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jul 01 22:14:42 2017 +0000

description:
Expect crypt(3) to be provided by unistd.h, not the ancient crypt.h.
Fix standard visibility macro use.

diffstat:

 www/SOGo3/distinfo                                     |   3 +-
 www/SOGo3/patches/patch-SoObjects_SOGo_NSData+Crypto.m |  22 ++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r c5e24bc1ee23 -r d3d56d09bcaa www/SOGo3/distinfo
--- a/www/SOGo3/distinfo        Sat Jul 01 22:13:55 2017 +0000
+++ b/www/SOGo3/distinfo        Sat Jul 01 22:14:42 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2017/06/10 22:04:15 wiedi Exp $
+$NetBSD: distinfo,v 1.3 2017/07/01 22:14:42 joerg 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
diff -r c5e24bc1ee23 -r d3d56d09bcaa www/SOGo3/patches/patch-SoObjects_SOGo_NSData+Crypto.m
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/SOGo3/patches/patch-SoObjects_SOGo_NSData+Crypto.m    Sat Jul 01 22:14:42 2017 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-SoObjects_SOGo_NSData+Crypto.m,v 1.1 2017/07/01 22:14:42 joerg Exp $
+
+--- SoObjects/SOGo/NSData+Crypto.m.orig        2017-07-01 20:55:22.227865760 +0000
++++ SoObjects/SOGo/NSData+Crypto.m
+@@ -23,16 +23,11 @@
+  * Boston, MA 02111-1307, USA.
+  */
+ 
+-#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
+-#include <crypt.h>
+-#endif
++#define _XOPEN_SOURCE 1
+ 
+ #include <fcntl.h>
+ #include <unistd.h>
+ 
+-#define _XOPEN_SOURCE 1
+-#include <unistd.h>
+-
+ #if defined(HAVE_GNUTLS)
+ #include <gnutls/gnutls.h>
+ #include <gnutls/crypto.h>



Home | Main Index | Thread Index | Old Index