Date: Mon, 2 Jul 2012 09:25:08 +0000 (UTC) From: "David E. O'Brien" <obrien@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r237984 - stable/9/lib/libmagic Message-ID: <201207020925.q629P8dX060525@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: obrien Date: Mon Jul 2 09:25:08 2012 New Revision: 237984 URL: http://svn.freebsd.org/changeset/base/237984 Log: Allow building on FreeBSD 7. Note that "HAVE_GETLINE" should be #undef'ed in config.h as were not using the libc interface -- however that leads to redundant redeclaration compiler warnings between the internal file.h and <stdio.h>. Modified: stable/9/lib/libmagic/Makefile Modified: stable/9/lib/libmagic/Makefile ============================================================================== --- stable/9/lib/libmagic/Makefile Mon Jul 2 08:48:58 2012 (r237983) +++ stable/9/lib/libmagic/Makefile Mon Jul 2 09:25:08 2012 (r237984) @@ -13,6 +13,7 @@ MAN= libmagic.3 magic.5 SRCS= apprentice.c apptype.c ascmagic.c cdf.c cdf_time.c compress.c \ encoding.c fsmagic.c funcs.c \ is_tar.c magic.c print.c readcdf.c readelf.c softmagic.c +SRCS+= getline.c INCS= magic.h MAGICPATH?= /usr/share/misc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207020925.q629P8dX060525>