trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2014

Re: [trinity-devel] Libmagic patches

From: François Andriot <francois.andriot@...>
Date: Sat, 11 Oct 2014 17:34:11 +0200
Le 11/10/2014 17:30, Slávek Banko a écrit :
> 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.
>

Thank you.
can you also look at the current patch in bug #2133 ?
I think it's the last FTBFS occuring in opensuse build service packages.

François