Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _XOPEN_SOURCE for SUSv3 / POSIX.1-2001 #10

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion www/SOGo3/distinfo
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ 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
9 changes: 7 additions & 2 deletions www/SOGo3/patches/patch-SoObjects_SOGo_NSData+Crypto.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
$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
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.
Expand All @@ -9,7 +14,7 @@
-#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
-#include <crypt.h>
-#endif
+#define _XOPEN_SOURCE 1
+#define _XOPEN_SOURCE 600

#include <fcntl.h>
#include <unistd.h>
Expand Down