From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 1 12:20:04 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 66B5DDF7 for ; Fri, 1 Feb 2013 12:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3F7F5128 for ; Fri, 1 Feb 2013 12:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r11CK45Y092683 for ; Fri, 1 Feb 2013 12:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r11CK46G092682; Fri, 1 Feb 2013 12:20:04 GMT (envelope-from gnats) Resent-Date: Fri, 1 Feb 2013 12:20:04 GMT Resent-Message-Id: <201302011220.r11CK46G092682@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Niclas Zeising Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 31483B9D for ; Fri, 1 Feb 2013 12:14:12 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9CBB8 for ; Fri, 1 Feb 2013 12:14:11 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id C0F6A40002 for ; Fri, 1 Feb 2013 13:14:10 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id B676640004; Fri, 1 Feb 2013 13:14:10 +0100 (CET) Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 1DD3340002 for ; Fri, 1 Feb 2013 13:14:10 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3YyHKs6Ql5z8hVn for ; Fri, 1 Feb 2013 13:14:09 +0100 (CET) Received: from mx.daemonic.se ([10.1.0.3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [10.1.0.6]) (amavisd-new, port 10025) with ESMTPS id 74bffU21Afvh for ; Fri, 1 Feb 2013 13:14:04 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3YyHKm06k6z8hVm for ; Fri, 1 Feb 2013 13:14:04 +0100 (CET) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPS id 3YyHKl6g6Sz9Ctj for ; Fri, 1 Feb 2013 13:14:03 +0100 (CET) Received: (from zeising@localhost) by vivi.daemonic.se (8.14.5/8.14.5/Submit) id r11CE3jZ029454; Fri, 1 Feb 2013 13:14:03 +0100 (CET) (envelope-from zeising) Message-Id: <201302011214.r11CE3jZ029454@vivi.daemonic.se> Date: Fri, 1 Feb 2013 13:14:03 +0100 (CET) From: Niclas Zeising To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/175760: [PATCH] fix build of x11-wm/fvwm2 with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Niclas Zeising List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 12:20:04 -0000 >Number: 175760 >Category: ports >Synopsis: [PATCH] fix build of x11-wm/fvwm2 with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 01 12:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Niclas Zeising >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD vivi.daemonic.se 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r243561M: Mon Nov 26 16:07:40 CET 2012 root@vivi.daemonic.se:/usr/obj/usr/src/sys/VIVI amd64 >Description: x11-wm/fvwm2 fails configure when built with clang. >How-To-Repeat: >Fix: Attached patch fixes the configure script and makes fvwm2 build with clang. --- ports.fvwm2.clangfix.diff begins here --- Index: x11-wm/fvwm2/files/patch-configure.ac =================================================================== --- x11-wm/fvwm2/files/patch-configure.ac (revision 0) +++ x11-wm/fvwm2/files/patch-configure.ac (working copy) @@ -0,0 +1,11 @@ +--- configure.ac.bak 2013-02-01 10:35:04.191557713 +0100 ++++ configure.ac 2013-02-01 10:35:12.513558507 +0100 +@@ -225,7 +225,7 @@ + switch (*p = p = *c) { case 0: printf("%Q", c, p); } + *c = &i; c = p; + while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1)); +- return;], , AC_MSG_ERROR(" ++ return 0;], , AC_MSG_ERROR(" + configure is not able to compile programs with warnings. Please + remove all offending options like -Werror from the CFLAGS and + CPPFLAGS variables and run configure again.")) Property changes on: x11-wm/fvwm2/files/patch-configure.ac ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property --- ports.fvwm2.clangfix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: