ports/175760: [PATCH] fix build of x11-wm/fvwm2 with clang
Niclas Zeising
zeising at daemonic.se
Fri Feb 1 12:20:04 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list