libassuan-2.4.2 patch. sorry about messy re-post ============
Index: Makefile =================================================================== RCS file: /cvs/ports/security/libassuan/Makefile,v retrieving revision 1.14 diff -u -p -r1.14 Makefile --- Makefile 17 Sep 2013 11:10:01 -0000 1.14 +++ Makefile 4 Jul 2016 21:25:51 -0000 @@ -2,7 +2,7 @@ COMMENT= IPC library used by GnuPG and gpgme -DISTNAME= libassuan-2.1.1 +DISTNAME= libassuan-2.4.2 EXTRACT_SUFX= .tar.bz2 SHARED_LIBS += assuan 1.1 # 2.0 Index: distinfo =================================================================== RCS file: /cvs/ports/security/libassuan/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo 17 Sep 2013 11:10:02 -0000 1.8 +++ distinfo 4 Jul 2016 21:25:51 -0000 @@ -1,2 +1,2 @@ -SHA256 (libassuan-2.1.1.tar.bz2) = I+LWd3m4jpDSn+HfaxVxCfHCpkfQ8bKg9Clbs8CyA50= -SIZE (libassuan-2.1.1.tar.bz2) = 538155 +SHA256 (libassuan-2.4.2.tar.bz2) = bb06dc81380b74bf1b64d5849be5c0409a336f3b4c45f20ac688e86d1b5bcb20 +SIZE (libassuan-2.4.2.tar.bz2) = 587631 Index: patches/patch-configure =================================================================== RCS file: /cvs/ports/security/libassuan/patches/patch-configure,v retrieving revision 1.3 diff -u -p -r1.3 patch-configure --- patches/patch-configure 17 Sep 2013 11:10:02 -0000 1.3 +++ patches/patch-configure 4 Jul 2016 21:25:51 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-configure,v 1.3 2013/09/17 11:10:02 ajacoutot Exp $ ---- configure.orig Mon Jun 24 07:14:16 2013 -+++ configure Tue Sep 17 13:06:46 2013 -@@ -14355,11 +14355,12 @@ if ${assuan_cv_sys_so_peercred+:} false; then : +--- configure.orig Wed Dec 2 06:15:59 2015 ++++ configure Mon Jun 27 00:48:10 2016 +@@ -14577,11 +14577,12 @@ if ${assuan_cv_sys_so_peercred+:} false; then : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ Index: patches/patch-src_assuan-socket_c =================================================================== RCS file: patches/patch-src_assuan-socket_c diff -N patches/patch-src_assuan-socket_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_assuan-socket_c 4 Jul 2016 21:25:51 -0000 @@ -0,0 +1,26 @@ +$OpenBSD$ +--- src/assuan-socket.c.orig Fri Nov 27 03:32:13 2015 ++++ src/assuan-socket.c Mon Jun 27 00:48:10 2016 +@@ -38,6 +38,22 @@ + # include <arpa/inet.h> + #endif + #include <errno.h> ++ ++ ++/* OpenBSD does not have EPROTO */ ++#if !defined(ENOTSUP) && defined(EOPNOTSUPP) ++#define ENOTSUP EOPNOTSUPP ++#endif ++ ++#if !defined(ENODATA) && defined(ENOENT) ++#define ENODATA ENOENT ++#endif ++ ++#if !defined(EPROTO) && defined(ENOPROTOOPT) ++#define EPROTO ENOPROTOOPT ++#endif ++ ++ + #ifdef HAVE_SYS_STAT_H + # include <sys/stat.h> + #endif