From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 16 05:28:48 2012 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CF57106568A for ; Sat, 16 Jun 2012 05:28:48 +0000 (UTC) (envelope-from ambrosehua@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EF7418FC16 for ; Sat, 16 Jun 2012 05:28:47 +0000 (UTC) Received: by werg1 with SMTP id g1so3200463wer.13 for ; Fri, 15 Jun 2012 22:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=XxTcaCeQbq6Q+DXWmUVj9cnMQmM5TIPwxPB1370BAXA=; b=P4AKgzubJlmK7kViMJyGWxkU/mi5u+H9B9jY5CqU4CZixM/gYZ0EtTXGp+b0AiuOds n8VcjIlfbCu9ykYXfaQn+sS32rj0IXdB/5s0sadwqQl6icZMhVHhgiqluOdgXT2ZIB+v ygSigDBsiBPswo/bB+RXY68JOxD+Y2Gz6N2TLlnw+mxjcCoX2Sn780pkLl+pQdNBRFic sKBhj1pSump8C04ZeJlftoJBcbgdEoAUapicJvYHI60IGXeUSNn3IoKGGA00/8fRhfcM GxrULlZzOFDJQO8+ddg4EsuusstFiqM54+3QTImIR030jibqFNDlZ7HzV2eGWaoTiCfT PN6Q== MIME-Version: 1.0 Received: by 10.180.83.197 with SMTP id s5mr9367337wiy.9.1339824526813; Fri, 15 Jun 2012 22:28:46 -0700 (PDT) Received: by 10.216.245.129 with HTTP; Fri, 15 Jun 2012 22:28:46 -0700 (PDT) Date: Sat, 16 Jun 2012 13:28:46 +0800 Message-ID: From: Paul Ambrose Ambrose To: freebsd-ports-bugs@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Subject: [x11-wm/fvwm2]: built with clang 3.1 failed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2012 05:28:48 -0000 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