Mon May 2 21:27:16 2011 UTC ()
Fix building with Clang


(adam)
diff -r1.2 -r1.3 pkgsrc/security/nettle/distinfo
diff -r0 -r1.1 pkgsrc/security/nettle/patches/patch-x86_camellia-crypt-internal.asm

cvs diff -r1.2 -r1.3 pkgsrc/security/nettle/distinfo (expand / switch to unified diff)

--- pkgsrc/security/nettle/distinfo 2011/04/26 09:54:55 1.2
+++ pkgsrc/security/nettle/distinfo 2011/05/02 21:27:15 1.3
@@ -1,9 +1,10 @@ @@ -1,9 +1,10 @@
1$NetBSD: distinfo,v 1.2 2011/04/26 09:54:55 adam Exp $ 1$NetBSD: distinfo,v 1.3 2011/05/02 21:27:15 adam Exp $
2 2
3SHA1 (nettle-2.1.tar.gz) = 15f660ef6cfd62c1c3302f68055f194913de0dfb 3SHA1 (nettle-2.1.tar.gz) = 15f660ef6cfd62c1c3302f68055f194913de0dfb
4RMD160 (nettle-2.1.tar.gz) = 56bd66654e8320abb12812d0fa1b79733bc62094 4RMD160 (nettle-2.1.tar.gz) = 56bd66654e8320abb12812d0fa1b79733bc62094
5Size (nettle-2.1.tar.gz) = 965345 bytes 5Size (nettle-2.1.tar.gz) = 965345 bytes
6SHA1 (patch-Makefile.in) = 15bbe1b1a33817c0d1d1db1f4510c3ebc6eb949e 6SHA1 (patch-Makefile.in) = 15bbe1b1a33817c0d1d1db1f4510c3ebc6eb949e
7SHA1 (patch-config.make.in) = 0bf3d2729b97883b41374a1ea3d5286fd2554e98 7SHA1 (patch-config.make.in) = 0bf3d2729b97883b41374a1ea3d5286fd2554e98
8SHA1 (patch-testsuite_Makefile.in) = 38498777821eba9a5d303e6d7848addf5da06700 8SHA1 (patch-testsuite_Makefile.in) = 38498777821eba9a5d303e6d7848addf5da06700
9SHA1 (patch-tools_Makefile.in) = 262d59cb6e642e6ad4c8bec2e166fc18367d91d7 9SHA1 (patch-tools_Makefile.in) = 262d59cb6e642e6ad4c8bec2e166fc18367d91d7
 10SHA1 (patch-x86_camellia-crypt-internal.asm) = 0dd04f76ccca63f0c3e7260269fa8f74d01ddda3

File Added: pkgsrc/security/nettle/patches/Attic/patch-x86_camellia-crypt-internal.asm
$NetBSD: patch-x86_camellia-crypt-internal.asm,v 1.1 2011/05/02 21:27:15 adam Exp $

Avoid ambiguous instruction.

--- x86/camellia-crypt-internal.asm.orig	2011-05-02 18:31:15.000000000 +0000
+++ x86/camellia-crypt-internal.asm
@@ -185,7 +185,7 @@ PROLOGUE(_nettle_camellia_crypt)
 	FL(L0, H0, -16)
 	FLINV(L1, H1, -8)
 	ROUND6
-	sub 	$8, FRAME_CNT	
+	subl 	$8, FRAME_CNT	
 	ja	.Lround_loop
 
 	movl	FRAME_DST, TMP