[DragonFlyBSD - Submit #2206] (Closed) [PATCH] Libmagic doesn't compile with clang

Peter Avalos via Redmine bugtracker-admin at leaf.dragonflybsd.org
Wed Dec 28 14:47:53 PST 2011

Issue #2206 has been updated by Peter Avalos.

Status changed from New to Closed

07b5fcf4530bc258ce8d95250e216bd7e339aecd should take care of this.

Thanks for the submission!
Submit #2206: [PATCH] Libmagic doesn't compile with clang

Author: Juan Francisco Cantero Hurtado
Status: Closed
Priority: Normal
Target version: 

* -I- is obsolete. Changed to -iquote.

 * gcc is ignoring file.h. Fix for the error compiling with clang.
 lib/libmagic/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile
index e339983..2151523 100644
--- a/lib/libmagic/Makefile
+++ b/lib/libmagic/Makefile
@@ -54,9 +54,9 @@ magic.mgc: mkmagic.nx magic
 CLEANFILES+=   mkmagic.nx
 build-tools: mkmagic.nx
-mkmagic.nx: file.h apprentice.c funcs.c magic.c print.c
+mkmagic.nx: apprentice.c funcs.c magic.c print.c
 .include <bsd.lib.mk>
Juan Francisco Cantero Hurtado http://juanfra.info

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Submit mailing list