diff options
author | wiz <wiz@pkgsrc.org> | 2015-09-14 13:25:39 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-09-14 13:25:39 +0000 |
commit | df767741a957bd6316816a90abc1ad5bf3fa09e7 (patch) | |
tree | c344a803f038c8a5fdb96dde6204825e37d69e7c /security | |
parent | a82169a74b1d9dc40aba3982f86f526f03933cbb (diff) | |
download | pkgsrc-df767741a957bd6316816a90abc1ad5bf3fa09e7.tar.gz |
Fix build on Solaris 11 per PR 50242 by Jörn Clausen.
Diffstat (limited to 'security')
-rw-r--r-- | security/libgcrypt/distinfo | 3 | ||||
-rw-r--r-- | security/libgcrypt/patches/patch-configure | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/security/libgcrypt/distinfo b/security/libgcrypt/distinfo index 71966c2072c..3190a4ec55d 100644 --- a/security/libgcrypt/distinfo +++ b/security/libgcrypt/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.58 2015/09/09 18:02:15 wiz Exp $ +$NetBSD: distinfo,v 1.59 2015/09/14 13:25:39 wiz Exp $ SHA1 (libgcrypt-1.6.4.tar.bz2) = ed52add1ce635deeb2f5c6650e52667debd4ec70 RMD160 (libgcrypt-1.6.4.tar.bz2) = 37b41d884f521a54f127923eea995c4e60ea3c9b Size (libgcrypt-1.6.4.tar.bz2) = 2549820 bytes SHA1 (patch-aa) = 3dd44b8745128a6788d24f9eb00002624a5fc52b +SHA1 (patch-configure) = 1b0e7ebeeb75ada3bd6b0f4fd7906b7e5550c980 SHA1 (patch-src_visibility.h) = 8cbbf6803ab34b4b7dda832aa8ee18247aa89518 diff --git a/security/libgcrypt/patches/patch-configure b/security/libgcrypt/patches/patch-configure new file mode 100644 index 00000000000..5d2e2994d31 --- /dev/null +++ b/security/libgcrypt/patches/patch-configure @@ -0,0 +1,19 @@ +$NetBSD: patch-configure,v 1.5 2015/09/14 13:25:39 wiz Exp $ + +Fix build on Solaris 11. +See PR 50242. + +--- configure.orig 2014-08-21 13:14:09.000000000 +0000 ++++ configure +@@ -16481,6 +16531,11 @@ __asm__( + "asmfunc:\n\t" + ".size asmfunc,.-asmfunc;\n\t" + ".type asmfunc,@function;\n\t" ++ /* Test if assembler allows use of '/' for constant division ++ * (Solaris/x86 issue). If previous constant division check ++ * and "-Wa,--divide" workaround failed, this causes assembly ++ * to be disable on this machine. */ ++ "xorl \$(123456789/12345678), %ebp;\n\t" + ); + _ACEOF + if ac_fn_c_try_compile "$LINENO"; then : |