Patch to fix libgcrypt and KeepassX issue on FreeBSD

Jussi Kivilinna jussi.kivilinna at iki.fi
Thu Nov 26 19:25:28 CET 2015


Hello,

On 26.11.2015 11:37, Carlos J Puga Medina wrote:
> Hi people,
> 
> The following patch fixes a current problem on FreeBSD. Please, can
> someone commit it for the next libgcrypt release?
> 

I managed to reproduce this on Ubuntu/clang and found bug in salsa20
selftest code. Does attached patch fix the issue for you?

-Jussi

> --- cipher/Makefile.in.orig	2015-09-08 06:32:11 UTC
> +++ cipher/Makefile.in
> @@ -818,13 +818,19 @@ uninstall-am:
>  	tags tags-am uninstall uninstall-am
>  
>  
> -# We need to lower the optimization for this module.
> +# We need to lower the optimization for these modules.
>  tiger.o: $(srcdir)/tiger.c
>  	`echo $(COMPILE) -c $(srcdir)/tiger.c | $(o_flag_munging) `
>  
>  tiger.lo: $(srcdir)/tiger.c
>  	`echo $(LTCOMPILE) -c $(srcdir)/tiger.c | $(o_flag_munging) `
>  
> +salsa20.o: $(srcdir)/salsa20.c
> +	`echo $(COMPILE) -c $(srcdir)/salsa20.c | $(o_flag_munging) `
> +
> +salsa20.lo: $(srcdir)/salsa20.c
> +	`echo $(LTCOMPILE) -c $(srcdir)/salsa20.c | $(o_flag_munging)
> `
> +
>  # Tell versions [3.59,3.63) of GNU make to not export all variables.
>  # Otherwise a system limit (for SysV at least) may be exceeded.
>  .NOEXPORT:
> 
> See bug 204323 for further details:
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204323
> 
> Kind regards,
> 
> 
> 
> _______________________________________________
> Gcrypt-devel mailing list
> Gcrypt-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-salsa20-fix-alignment-of-self.patch
Type: text/x-patch
Size: 3109 bytes
Desc: not available
URL: </pipermail/attachments/20151126/90b4e3ef/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20151126/90b4e3ef/attachment.sig>


More information about the Gcrypt-devel mailing list