Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 13:14:03 +0100 (CET)
From:      Niclas Zeising <zeising@daemonic.se>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175760: [PATCH] fix build of x11-wm/fvwm2 with clang
Message-ID:  <201302011214.r11CE3jZ029454@vivi.daemonic.se>
Resent-Message-ID: <201302011220.r11CK46G092682@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302011214.r11CE3jZ029454>