svn commit: r336249 - head/stand/libsa

Warner Losh imp at FreeBSD.org
Fri Jul 13 17:15:15 UTC 2018


Author: imp
Date: Fri Jul 13 17:15:14 2018
New Revision: 336249
URL: https://svnweb.freebsd.org/changeset/base/336249

Log:
  Fix sparc64 builds
  
  gcc is complaining about struct infate being defined in a parameter
  list. It's inclear how long this has been broken, but the fix is
  simple enough.

Modified:
  head/stand/libsa/Makefile

Modified: head/stand/libsa/Makefile
==============================================================================
--- head/stand/libsa/Makefile	Fri Jul 13 17:12:50 2018	(r336248)
+++ head/stand/libsa/Makefile	Fri Jul 13 17:15:14 2018	(r336249)
@@ -96,6 +96,7 @@ SRCS+=bzlib.c crctable.c decompress.c huffman.c randta
 # decompression functionality from zlib
 .PATH: ${SRCTOP}/contrib/zlib
 CFLAGS+=-DHAVE_MEMCPY -I${SRCTOP}/contrib/zlib
+CFLAGS.inflate.c+=-DKZIP
 SRCS+=	adler32.c crc32.c
 SRCS+=	infback.c inffast.c inflate.c inftrees.c zutil.c
 


More information about the svn-src-head mailing list