Date: Mon, 19 Aug 1996 22:13:14 -0700 (PDT) From: asami@freebsd.org (Satoshi Asami) To: ache@nagual.ru Cc: ports@freebsd.org Subject: arena port doesn't compile in -current Message-ID: <199608200513.WAA20163@silvia.HIP.Berkeley.EDU>
next in thread | raw e-mail | index | archive | help
This is what I get: === cc -c -o ../../Arena/freebsd/icon.o -O2 -pipe -I/usr/X11R6/include -I../../Library/Implementation/ -I../../Arena/Implementation/ ../../Arena/Implementation/icon.c ../../Arena/Implementation/icon.c:49: macro `index' used without args ../../Arena/Implementation/icon.c:49: parse error before `(' *** Error code 1 Stop. === I managed to get around this by adding this patch: === --- ./Arena/Implementation/icon.c.org Thu Mar 21 07:28:53 1996 +++ ./Arena/Implementation/icon.c Tue Apr 30 00:22:54 1996 @@ -46,7 +46,9 @@ #if defined __QNX__ || (defined(sco) && !defined(sco_os5)) #define index strchr #else +#if !defined(index) extern char *index(); +#endif #endif static char basis_64[] = === but I'm not sure if this is anywhere near the right fix. Can you please take a look? Thanks Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608200513.WAA20163>