看板 FB_questions 關於我們 聯絡資訊
There are many other compile-with not started with ${NORMAL_C}, your patch adds ${NORMAL_CTFCONVERT} to them too, which could not be suitable for this. 2011/10/19 Ryan Stone <rysto32@gmail.com>: > I have run into the same issue recently. =A0I have been testing the > following patch(on 8.2-RELEASE) and it seems to have worked for me: > > --- mkmakefile.c 11:09:30.000000000 -0400 > +++ mkmakefile.c =A0 =A0 =A0 =A02011-10-06 11:13:31.000000000 -0400 > @@ -742,15 +742,16 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0snprintf(cmd, sizeof(cmd), > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "${%s_%c%s}\n.if de= fined(NORMAL_CTFCONVERT) && " > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "!empty(NORMAL_CTFC= ONVERT)\n" > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "\t${NORMAL_CTFCONV= ERT}\n.endif", ftype, > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "${%s_%c%s}\n", fty= pe, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0toupper(och), > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ftp->f_flags & NOW= ERROR ? "_NOWERROR" : ""); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0compilewith =3D cmd; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0*cp =3D och; > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 fprintf(f, "\t%s\n\n", compilewith); > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 fprintf(f, "\t%s\n", compilewith); > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 fprintf(f, ".if defined(NORMAL_CTFCONVERT) = && " > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"!empty(NORMAL_C= TFCONVERT)\n" > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"\t${NORMAL_CTFC= ONVERT}\n.endif\n\n"); > =A0 =A0 =A0 =A0} > =A0} > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"