Thomas Klausner <wiz%NetBSD.org@localhost> writes: > On Tue, Jun 05, 2012 at 10:17:54PM +0900, Takahiro Kambe wrote: >> In message <alpine.NEB.2.01.1206050757170.2887%t1.m.reedmedia.net@localhost> >> on Tue, 5 Jun 2012 08:10:58 -0500 (CDT), >> "Jeremy C. Reed" <reed%reedmedia.net@localhost> wrote: >> > On Tue, 5 Jun 2012, Benny Siegert wrote: >> > >> >> > checking if cc -std=gnu99 supports -Wredundant-decls... yes >> >> > checking if cc -std=gnu99 supports -Werror=implicit... no >> >> > checking if cc -std=gnu99 supports >> >> > -errwarn=E_NO_EXPLICIT_TYPE_GIVEN >> >> > -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... eval: 1: Syntax error: >> >> > Bad substitution >> >> > *** Error code 2 >> >> >> >> I have the same on 5.99.51/amd64. This is a shell syntax problem in >> >> all the Xorg libs, including libX11, libXext and so on. The workaround >> >> that I found is to install mksh and set CONFIG_SHELL=/usr/pkg/bin/mksh >> >> in mk.conf. >> There is a line in configure (suppress space start of line): >> >> cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN >> -errwarn=E_NO_IMPLICIT_DECL_ALLOWED` >> >> Change this line to below seems solve the problem. >> >> cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN >> -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"` > > I've committed this change as a patch to libfontenc. Can someone who > was affected by the breakage please confirm that this fixes the > problem? > > I know about similar issues in libICE and libXau, which I can fix once > it's confirmed working (probably more, let me know). libfontenc builds fine for me. I updated last night and rebuilt and had the following failures (from pkg_rr): - libICE - libSM - libXScrnSaver - libXau - libXcursor - libXdmcp - libXext - libXinerama - libXmu - libXpm - libXrender - libXres - libXtst - libXxf86vm - libxkbfile plus imake, not sure if that's related.
Description: PGP signature