From mad@madpilot.net  Thu Jul  7 14:08:10 2011
Return-Path: <mad@madpilot.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B752A106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Jul 2011 14:08:10 +0000 (UTC)
	(envelope-from mad@madpilot.net)
Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206])
	by mx1.freebsd.org (Postfix) with ESMTP id 5D7218FC13
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Jul 2011 14:08:10 +0000 (UTC)
Received: from megatron.madpilot.net (localhost [127.0.0.1])
	by megatron.madpilot.net (Postfix) with ESMTP id 1427113DB
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Jul 2011 16:08:09 +0200 (CEST)
Received: from megatron.madpilot.net ([127.0.0.1])
	by megatron.madpilot.net (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id IhYZMjEO8oap for <FreeBSD-gnats-submit@freebsd.org>;
	Thu,  7 Jul 2011 16:08:01 +0200 (CEST)
Received: by megatron.madpilot.net (Postfix, from userid 1000)
	id CD2F613D3; Thu,  7 Jul 2011 16:08:01 +0200 (CEST)
Message-Id: <20110707140801.CD2F613D3@megatron.madpilot.net>
Date: Thu,  7 Jul 2011 16:08:01 +0200 (CEST)
From: Guido Falsi <mad@madpilot.net>
Reply-To: Guido Falsi <mad@madpilot.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: lang/guile: fix build with clang
X-Send-Pr-Version: 3.113
X-GNATS-Notify: amatus@gnu.org

>Number:         158705
>Category:       ports
>Synopsis:       lang/guile: fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 07 14:10:07 UTC 2011
>Closed-Date:    Sun Jul 24 17:52:08 UTC 2011
>Last-Modified:  Sun Jul 24 18:00:19 UTC 2011
>Originator:     Guido Falsi
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Jun 6 20:10:31 CEST 2011 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64

>Description:

Fix build with clang by removing -Werror.

>How-To-Repeat:
>Fix:

diff -ruN guile.old/files/patch-configure.in guile/files/patch-configure.in
--- guile.old/files/patch-configure.in	2011-07-07 15:56:31.775401759 +0200
+++ guile/files/patch-configure.in	2011-07-07 15:56:42.111372172 +0200
@@ -1,5 +1,5 @@
---- configure.in.orig	2008-12-08 17:42:52.000000000 +0000
-+++ configure.in	2010-03-17 21:41:00.869992126 +0000
+--- configure.in.orig	2008-12-08 18:42:52.000000000 +0100
++++ configure.in	2011-07-07 15:40:43.000000000 +0200
 @@ -622,7 +622,7 @@
  #
  AC_CHECK_HEADERS([complex.h fenv.h io.h libc.h limits.h malloc.h memory.h process.h string.h \
@@ -37,3 +37,21 @@
  
      # On past versions of Solaris, believe 8 through 10 at least, you
      # had to write "pthread_once_t foo = { PTHREAD_ONCE_INIT };".
+@@ -1277,7 +1280,7 @@
+     if test "$GCC" = "yes"; then
+       # Since GCC only issues a warning for missing braces, so we need
+       # `-Werror' to catch it.
+-      CFLAGS="-Werror -Wmissing-braces $CFLAGS"
++      CFLAGS="-Wmissing-braces $CFLAGS"
+     fi
+ 
+     AC_CACHE_CHECK([whether PTHREAD_ONCE_INIT needs braces],
+@@ -1428,7 +1431,7 @@
+     # not be "warning free"
+     if test "${GUILE_ERROR_ON_WARNING}" = yes
+     then
+-	CFLAGS="${CFLAGS} -Werror"
++	CFLAGS="${CFLAGS}"
+ 	enable_compile_warnings=no
+     fi
+     ;;
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jul 7 14:10:17 UTC 2011 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158705 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Jul 7 14:10:22 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158705 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: amatus@gnu.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/158705: lang/guile: fix build with clang
Date: Thu, 7 Jul 2011 14:10:20 UT

 Maintainer of lang/guile,
 
 Please note that PR ports/158705 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/158705
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->feedback 
State-Changed-By: linimon 
State-Changed-When: Tue Jul 12 04:58:05 UTC 2011 
State-Changed-Why:  
Back to pool at assignee request for the moment. 


Responsible-Changed-From-To: miwi->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Jul 12 04:58:05 UTC 2011 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=158705 
State-Changed-From-To: feedback->closed 
State-Changed-By: arved 
State-Changed-When: Sun Jul 24 17:52:00 UTC 2011 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158705 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/158705: commit references a PR
Date: Sun, 24 Jul 2011 17:52:05 +0000 (UTC)

 arved       2011-07-24 17:51:52 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/guile/files     patch-configure.in 
   Log:
   Fix build with clang by removing -Werror
   
   PR:             158705
   Submitted by:   Guido Falsi
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.4       +20 -2     ports/lang/guile/files/patch-configure.in
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
