misc/81237: missing magic.h include with libmagic

Giorgos Keramidas keramida at FreeBSD.org
Thu May 19 10:19:38 GMT 2005


Synopsis: missing magic.h include with libmagic

State-Changed-From-To: open->feedback
State-Changed-By: keramida
State-Changed-When: Thu May 19 10:16:26 GMT 2005
State-Changed-Why: 
A fix for this has been committed to RELENG_5 in December 2004,
after 5.3-RELEASE was out.  Since the "security branches" only
see security fixes, can you try a newer release (i.e. 5.4 which
is already out)?

FWIW, the "fix" is simple enough that you can apply it locally,
if upgrading is not possible.  The only change needed is in
/usr/src/lib/libmagic/Makefile and it is:

%  SRCS=  apprentice.c apptype.c ascmagic.c compress.c fsmagic.c funcs.c \
%         is_tar.c magic.c print.c readelf.c softmagic.c
% +INCS=  magic.h
% 
%  MAGICPATH?=    /usr/share/misc

http://www.freebsd.org/cgi/query-pr.cgi?pr=81237


More information about the freebsd-bugs mailing list