svn commit: r284934 - stable/9/lib/libmagic

Xin LI delphij at FreeBSD.org
Mon Jun 29 18:11:11 UTC 2015


Author: delphij
Date: Mon Jun 29 18:11:10 2015
New Revision: 284934
URL: https://svnweb.freebsd.org/changeset/base/284934

Log:
  Provide a temporary bandaid for libmagic by lowering WARNS to 1.
  The defined but unused warnings are legimite but not really fatal.
  
  Reported by:	kib

Modified:
  stable/9/lib/libmagic/Makefile

Modified: stable/9/lib/libmagic/Makefile
==============================================================================
--- stable/9/lib/libmagic/Makefile	Mon Jun 29 17:59:00 2015	(r284933)
+++ stable/9/lib/libmagic/Makefile	Mon Jun 29 18:11:10 2015	(r284934)
@@ -22,7 +22,7 @@ MAGICPATH?=	/usr/share/misc
 CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DHAVE_CONFIG_H
 CFLAGS+= -I${.CURDIR} -I${CONTRDIR}/src
 
-WARNS?=		3
+WARNS?=		1
 
 CLEANFILES+=	magic magic.mgc
 


More information about the svn-src-stable-9 mailing list