Date: Sat, 16 Jun 2012 13:28:46 +0800 From: Paul Ambrose Ambrose <ambrosehua@gmail.com> To: freebsd-ports-bugs@freebsd.org Subject: [x11-wm/fvwm2]: built with clang 3.1 failed Message-ID: <CAMwoQQ7TUZwYwMrQAESkCevCsSY5W3h92dqGLDOyRxSf-_1GXQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
when configuring, the configure, line 15373 has problem with the clang 3.1 switch (*p =3D p =3D *c) { case 0: printf("%Q", c, p); } *c =3D &i; c =3D p; while (1 || (unsigned int)3 >=3D 0 || ((int)-1) =3D=3D ((unsigned int)1))= ; return; //line 15373 ; return 0; } which cause configure fail, I manually change return; into return 1; and it works, but when add a patch file, patch-configure cat ../../files/patch-configure --- configure.orig 2012-06-04 20:35:58.000000000 +0800 +++ configure 2012-06-04 20:36:47.000000000 +0800 @@ -6492,7 +6492,7 @@ switch (*p =3D p =3D *c) { case 0: printf("%Q", c, p); } *c =3D &i; c =3D p; while (1 || (unsigned int)3 >=3D 0 || ((int)-1) =3D=3D ((unsigned int)1)= ); - return; + return 0; ; return 0; } the patch does work. I found the fvwm2's aclocal.m4 is contructed by autoconf 2.68=A3=AC but the autoconf in ports are 2.69, so the configure patched by my patch is then reconstructed by the autoconf, so does anyone has any other dear of how to fixed the autoconf version mismatch
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMwoQQ7TUZwYwMrQAESkCevCsSY5W3h92dqGLDOyRxSf-_1GXQ>