Andrew Turner wrote this message on Sat, Jul 11, 2015 at 18:06 +0100:
> On Sat, 11 Jul 2015 07:29:20 -0700
> John-Mark Gurney <j...@funkthat.com> wrote:
> ... 
> > The closest I can see is that sha256hl.c (from mdXhl.c) is including
> > "sha256.h" with double quotes, and getting the wrong header file..
> 
> I concur, the following fixes libmd to use the correct header.

Andrew, thanks for the fix and thanks Craig for the commit... I owe
all of you a beer (or a drink of your choice)...

> Index: lib/libmd/Makefile
> ===================================================================
> --- lib/libmd/Makefile  (revision 285383)
> +++ lib/libmd/Makefile  (working copy)
> @@ -49,6 +49,7 @@
>  #   * macros are used to rename symbols to libcrypt internal names
>  #   * no weak aliases are generated
>  CFLAGS+= -I${.CURDIR} -DWEAK_REFS
> +CFLAGS+= -I${.CURDIR}/../../sys/crypto/sha2
>  .PATH: ${.CURDIR}/${MACHINE_ARCH} ${.CURDIR}/../../sys/crypto/sha2
>  
>  .if exists(${MACHINE_ARCH}/sha.S)

-- 
  John-Mark Gurney                              Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to