trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2014

Re: [trinity-devel] Libmagic patches

From: Slávek Banko <slavek.banko@...>
Date: Sat, 11 Oct 2014 17:30:39 +0200
On Saturday 11 of October 2014 15:33:02 Fran�ois Andriot wrote:
> Another FTBFS on old libmagic (version 4.17), because MAGIC_MIME_TYPE is
> not defined in magic.h
>
> I have in magic.h :
>
> #define MAGIC_NONE              0x000   /* No flags */
> #define MAGIC_DEBUG             0x001   /* Turn on debugging */
> #define MAGIC_SYMLINK           0x002   /* Follow symlinks */
> #define MAGIC_COMPRESS          0x004   /* Check inside compressed files */
> #define MAGIC_DEVICES           0x008   /* Look at the contents of
> devices */
> #define MAGIC_MIME              0x010   /* Return a mime string */
> #define MAGIC_CONTINUE          0x020   /* Return all matches */
> #define MAGIC_CHECK             0x040   /* Print warnings to stderr */
> #define MAGIC_PRESERVE_ATIME    0x080   /* Restore access time on exit */
> #define MAGIC_RAW               0x100   /* Don't translate unprintable
> chars */
> #define MAGIC_ERROR             0x200   /* Handle ENOENT etc as real
> errors */
>
> Attached patch is supposed to fix this.
>
> Fran�ois

Patch pushed to GIT in hash 8f117582.

-- 
Sl�vek