From owner-svn-ports-head@FreeBSD.ORG Thu May 23 22:05:23 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 17A368BB; Thu, 23 May 2013 22:05:23 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id E39DA366; Thu, 23 May 2013 22:05:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4NM5Mbn002355; Thu, 23 May 2013 22:05:22 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4NM5MSa002349; Thu, 23 May 2013 22:05:22 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201305232205.r4NM5MSa002349@svn.freebsd.org> From: Chris Rees Date: Thu, 23 May 2013 22:05:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318913 - in head/devel/libcfu: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 22:05:23 -0000 Author: crees Date: Thu May 23 22:05:21 2013 New Revision: 318913 URL: http://svnweb.freebsd.org/changeset/ports/318913 Log: New versions of clang complain about assigning variables to themselves. Let's just remove -Werror and ignore the warnings. Submitted by: phw (miwi) Added: head/devel/libcfu/files/patch-configure.ac (contents, props changed) head/devel/libcfu/files/patch-examples-Makefile.am (contents, props changed) Modified: head/devel/libcfu/Makefile Modified: head/devel/libcfu/Makefile ============================================================================== --- head/devel/libcfu/Makefile Thu May 23 21:49:39 2013 (r318912) +++ head/devel/libcfu/Makefile Thu May 23 22:05:21 2013 (r318913) @@ -11,6 +11,7 @@ COMMENT= Simple library of tools for dev LICENSE= BSD GNU_CONFIGURE= yes +USE_AUTOTOOLS= automake aclocal INFO= ${PORTNAME} .include Added: head/devel/libcfu/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libcfu/files/patch-configure.ac Thu May 23 22:05:21 2013 (r318913) @@ -0,0 +1,18 @@ +--- configure.ac.orig 2013-05-23 22:56:29.764274319 +0100 ++++ configure.ac 2013-05-23 22:59:46.595272055 +0100 +@@ -15,12 +15,12 @@ + SAVELIBS="$LIBS" + CFLAGS="-pthread $CFLAGS" + LIBS="-pthread $LIBS" +-AC_CHECK_FUNC(pthread_mutex_init,, +- CFLAGS="$SAVECFLAGS" ++AC_CHECK_FUNC(pthread_mutex_init, , ++ [CFLAGS="$SAVECFLAGS" + LIBS="$SAVELIBS" + AC_CHECK_LIB(pthread, pthread_mutex_init,, + AC_CHECK_LIB(pthreads, pthread_mutex_init,, +- AC_MSG_ERROR([No pthreads support found.])))) ++ AC_MSG_ERROR([No pthreads support found.])))]) + + # Checks for header files. + AC_HEADER_STDC Added: head/devel/libcfu/files/patch-examples-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libcfu/files/patch-examples-Makefile.am Thu May 23 22:05:21 2013 (r318913) @@ -0,0 +1,11 @@ +--- examples/Makefile.am.orig 2013-05-23 22:51:44.426274513 +0100 ++++ examples/Makefile.am 2013-05-23 22:51:55.801273539 +0100 +@@ -4,7 +4,7 @@ + if DEBUG + AM_CFLAGS = -Wall -W -Werror -I$(top_srcdir)/include -DCFU_DEBUG=1 + else +-AM_CFLAGS = -Wall -W -Werror -I$(top_srcdir)/include ++AM_CFLAGS = -Wall -W -I$(top_srcdir)/include + endif + + AM_LDFLAGS = -Xlinker -rpath -Xlinker $(top_src_dir)/src