pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gnupg21 Make this build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e0665a00353
branches:  trunk
changeset: 355984:9e0665a00353
user:      hans <hans%pkgsrc.org@localhost>
date:      Fri Dec 16 16:21:54 2016 +0000

description:
Make this build on SunOS.

diffstat:

 security/gnupg21/Makefile                       |   3 ++-
 security/gnupg21/distinfo                       |   3 ++-
 security/gnupg21/patches/patch-g13_sh-dmcrypt.c |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (51 lines):

diff -r 0e8a2ef8c0c9 -r 9e0665a00353 security/gnupg21/Makefile
--- a/security/gnupg21/Makefile Fri Dec 16 16:07:29 2016 +0000
+++ b/security/gnupg21/Makefile Fri Dec 16 16:21:54 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2016/12/04 05:17:40 ryoon Exp $
+# $NetBSD: Makefile,v 1.25 2016/12/16 16:21:54 hans Exp $
 
 DISTNAME=      gnupg-2.1.14
 PKGNAME=       ${DISTNAME:S/gnupg-/gnupg21-/}
@@ -30,6 +30,7 @@
 CONFIGURE_ARGS.SunOS+= ac_cv_func_getaddrinfo=yes
 
 LDFLAGS.Darwin+=       -lresolv
+LDFLAGS.SunOS+=                -lsocket
 
 .include "options.mk"
 
diff -r 0e8a2ef8c0c9 -r 9e0665a00353 security/gnupg21/distinfo
--- a/security/gnupg21/distinfo Fri Dec 16 16:07:29 2016 +0000
+++ b/security/gnupg21/distinfo Fri Dec 16 16:21:54 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2016/08/20 16:18:03 wiz Exp $
+$NetBSD: distinfo,v 1.12 2016/12/16 16:21:54 hans Exp $
 
 SHA1 (gnupg-2.1.14.tar.bz2) = bc7609a3a0daf0ed0efb22f77b43e82f28e20e34
 RMD160 (gnupg-2.1.14.tar.bz2) = 22d1f1791133f48ab71e900617ad7fd13c8a4e0f
@@ -6,5 +6,6 @@
 Size (gnupg-2.1.14.tar.bz2) = 5706058 bytes
 SHA1 (patch-dirmngr_Makefile.in) = fa74bcf4ea214945c64d383dff039ab938ae1446
 SHA1 (patch-dirmngr_ks-engine-ldap.c) = 3a7d96d877cd52bed66c481af83da99c517d3380
+SHA1 (patch-g13_sh-dmcrypt.c) = a2505039fff9e1e90ab81076776542fa83f55d5e
 SHA1 (patch-kbx_Makefile.in) = 58f7c3711744a42d40f580944fb768f7aaaf1b68
 SHA1 (patch-tests_gpgscm_Makefile.in) = 1418ab0a3a93ae69b49db5198aa68fd3dd369548
diff -r 0e8a2ef8c0c9 -r 9e0665a00353 security/gnupg21/patches/patch-g13_sh-dmcrypt.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg21/patches/patch-g13_sh-dmcrypt.c   Fri Dec 16 16:21:54 2016 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-g13_sh-dmcrypt.c,v 1.1 2016/12/16 16:21:54 hans Exp $
+
+--- g13/sh-dmcrypt.c.orig      2016-05-04 11:43:16.000000000 +0200
++++ g13/sh-dmcrypt.c   2016-07-26 11:24:35.449662123 +0200
+@@ -25,6 +25,9 @@
+ #include <errno.h>
+ #include <assert.h>
+ #include <sys/types.h>
++#ifdef __sun
++#include <sys/mkdev.h>
++#endif
+ #ifdef HAVE_STAT
+ # include <sys/stat.h>
+ #endif



Home | Main Index | Thread Index | Old Index