Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 2015 17:52:56 +0000 (UTC)
From:      Michael Moll <mmoll@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402488 - head/security/gnupg1/files
Message-ID:  <201511271752.tARHqusI013115@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmoll
Date: Fri Nov 27 17:52:56 2015
New Revision: 402488
URL: https://svnweb.freebsd.org/changeset/ports/402488

Log:
  security/gnupg1: fix build on arm
  
  PR:		197793
  Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
  Approved by:	kuriyama (maintainer, timeout)

Added:
  head/security/gnupg1/files/patch-mpi_longlong.h   (contents, props changed)

Added: head/security/gnupg1/files/patch-mpi_longlong.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/gnupg1/files/patch-mpi_longlong.h	Fri Nov 27 17:52:56 2015	(r402488)
@@ -0,0 +1,39 @@
+--- mpi/longlong.h.orig	2014-06-30 16:46:23 UTC
++++ mpi/longlong.h
+@@ -184,8 +184,8 @@ extern UDItype __udiv_qrnnd ();
+ #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
+   __asm__ ("adds %1, %4, %5\n"                                          \
+ 	   "adc  %0, %2, %3"                                            \
+-	   : "=r" ((USItype)(sh)),                                      \
+-	     "=&r" ((USItype)(sl))                                      \
++	   : "=r" ((sh)),                                               \
++	     "=&r" ((sl))                                               \
+ 	   : "%r" ((USItype)(ah)),                                      \
+ 	     "rI" ((USItype)(bh)),                                      \
+ 	     "%r" ((USItype)(al)),                                      \
+@@ -193,8 +193,8 @@ extern UDItype __udiv_qrnnd ();
+ #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
+   __asm__ ("subs %1, %4, %5\n"                                          \
+ 	   "sbc  %0, %2, %3"                                            \
+-	   : "=r" ((USItype)(sh)),                                      \
+-	     "=&r" ((USItype)(sl))                                      \
++	   : "=r" ((sh)),                                               \
++	     "=&r" ((sl))                                               \
+ 	   : "r" ((USItype)(ah)),                                       \
+ 	     "rI" ((USItype)(bh)),                                      \
+ 	     "r" ((USItype)(al)),                                       \
+@@ -221,10 +221,10 @@ extern UDItype __udiv_qrnnd ();
+ 	   : "r0", "r1", "r2")
+ #else
+ #define umul_ppmm(xh, xl, a, b)                                         \
+-  __asm__ ("%@ Inlined umul_ppmm\n"                                     \
+-	   "umull %r1, %r0, %r2, %r3"                                   \
+-		   : "=&r" ((USItype)(xh)),                             \
+-		     "=r" ((USItype)(xl))                               \
++  __asm__ (                                                             \
++	   "umull %1, %0, %2, %3"                                       \
++		   : "=&r" ((xh)),                                      \
++		     "=r" ((xl))                                        \
+ 		   : "r" ((USItype)(a)),                                \
+ 		     "r" ((USItype)(b))                                 \
+ 		   : "r0", "r1")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511271752.tARHqusI013115>