svn commit: r402488 - head/security/gnupg1/files

Michael Moll mmoll at FreeBSD.org
Fri Nov 27 17:52:58 UTC 2015


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 at 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")


More information about the svn-ports-all mailing list