From owner-svn-ports-head@FreeBSD.ORG Wed Feb 19 13:36:01 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54A28775; Wed, 19 Feb 2014 13:36:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 268531785; Wed, 19 Feb 2014 13:36:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1JDa17b049913; Wed, 19 Feb 2014 13:36:01 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1JDa04I049910; Wed, 19 Feb 2014 13:36:00 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201402191336.s1JDa04I049910@svn.freebsd.org> From: Raphael Kubo da Costa Date: Wed, 19 Feb 2014 13:36:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r345091 - in head/databases/akonadi: . 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.17 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: Wed, 19 Feb 2014 13:36:01 -0000 Author: rakuco Date: Wed Feb 19 13:36:00 2014 New Revision: 345091 URL: http://svnweb.freebsd.org/changeset/ports/345091 QAT: https://qat.redports.org/buildarchive/r345091/ Log: Add upstream patch to fix the build with clang 3.4. clang 3.4 is pickier and refuses to work when passed flags it does not understand, such as -fno-check-new in this case. PR: ports/186873 Added: head/databases/akonadi/files/patch-git_938e9231 (contents, props changed) Modified: head/databases/akonadi/Makefile Modified: head/databases/akonadi/Makefile ============================================================================== --- head/databases/akonadi/Makefile Wed Feb 19 13:19:30 2014 (r345090) +++ head/databases/akonadi/Makefile Wed Feb 19 13:36:00 2014 (r345091) @@ -3,6 +3,7 @@ PORTNAME= akonadi PORTVERSION= 1.11.0 +PORTREVISION= 1 CATEGORIES= databases kde MASTER_SITES= KDE/stable/${PORTNAME}/src DIST_SUBDIR= KDE Added: head/databases/akonadi/files/patch-git_938e9231 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/akonadi/files/patch-git_938e9231 Wed Feb 19 13:36:00 2014 (r345091) @@ -0,0 +1,22 @@ +commit 938e923143364a2786a0b5bd3e303b1dcd82dfe3 +Author: Dan Vrátil +Date: Sun Dec 22 19:25:17 2013 +0100 + + Remove -fno-check-new from CXX_FLAGS + + This flag is not supported by Clang and generates a warning or build error + when using Clang. The overhead of non-null check should be minimal. + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e18608a..f22921c 100644 +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -241,7 +241,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_C_COMPILER MATCHES "icc" OR (CMAKE_CXX_COMP + + # more aggressive warnings and C++11 support + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common") +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -fno-check-new -fno-common") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -fno-common") + + # debugfull target + set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 -fno-inline" CACHE STRING "Flags used by the C++ compiler during debugfull builds." FORCE)