AMD64 self build fail during building libmagic

From: <takawata_at_jp.freebsd.org>
Date: Wed, 16 Aug 2006 01:33:00 +0900
Hi, I recently encountered build failure with libmagic
for this one month.
My investigating shows that intermediate executable 'mkmagic'
fails to detect the termination of some description of entries 
which is longer than expect.(According to contrib/file/file.h
 the length is MAXDESC=64.)
The following is a workaround for it. Is it known problem?

Index: Magdir/audio
===================================================================
RCS file: /home/ncvs/src/contrib/file/Magdir/audio,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 audio
- --- Magdir/audio	19 Jun 2006 07:52:14 -0000	1.1.1.8
+++ Magdir/audio	14 Aug 2006 04:17:38 -0000
_at__at_ -25,7 +25,7 _at__at_
 >12	belong		19		16-bit linear compressed,
 >12	belong		20		16-bit linear with emphasis and compression,
 >12	belong		21		Music kit DSP commands,
- ->12	belong		23		8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice data encoding),
+>12	belong		23		8-bit ISDN mu-law compressed (CCITT G.721),
 >12	belong		24		compressed (8-bit CCITT G.722 ADPCM)
 >12	belong		25		compressed (3-bit CCITT G.723.3 ADPCM),
 >12	belong		26		compressed (5-bit CCITT G.723.5 ADPCM),
_at__at_ -55,7 +55,7 _at__at_
 >12	belong		19		16-bit linear compressed,
 >12	belong		20		16-bit linear with emphasis and compression,
 >12	belong		21		Music kit DSP commands,
- ->12	lelong		23		8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice data encoding),
+>12	lelong		23		8-bit ISDN mu-law compressed (CCITT G.721),
 >12	belong		24		compressed (8-bit CCITT G.722 ADPCM)
 >12	belong		25		compressed (3-bit CCITT G.723.3 ADPCM),
 >12	belong		26		compressed (5-bit CCITT G.723.5 ADPCM),
Received on Tue Aug 15 2006 - 14:37:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC