pkgsrc/security/libgcrypt/patches/patch-ad

14 lines
632 B
Text
Raw Normal View History

$NetBSD: patch-ad,v 1.1 2004/10/25 13:03:53 gavan Exp $
--- mpi/longlong.h.orig 2004-03-03 08:21:49.000000000 +0000
+++ mpi/longlong.h
@@ -1133,7 +1133,7 @@ extern USItype __udiv_qrnnd ();
"rJ" ((USItype)(al)), \
"rI" ((USItype)(bl)) \
__CLOBBER_CC)
-#if defined (__sparc_v8__)
+#if defined (__sparc_v8__) || defined(__sparcv8)
/* Don't match immediate range because, 1) it is not often useful,
2) the 'I' flag thinks of the range as a 13 bit signed interval,
while we want to match a 13 bit interval, sign extended to 32 bits,