From owner-svn-ports-head@freebsd.org Wed Aug 2 18:01:04 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84066DAF065; Wed, 2 Aug 2017 18:01:04 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 480B56F39D; Wed, 2 Aug 2017 18:01:04 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v72I1390052554; Wed, 2 Aug 2017 18:01:03 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v72I13dv052553; Wed, 2 Aug 2017 18:01:03 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201708021801.v72I13dv052553@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Wed, 2 Aug 2017 18:01:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447131 - head/textproc/libstaroffice/files X-SVN-Group: ports-head X-SVN-Commit-Author: jkim X-SVN-Commit-Paths: head/textproc/libstaroffice/files X-SVN-Commit-Revision: 447131 X-SVN-Commit-Repository: ports 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.23 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, 02 Aug 2017 18:01:04 -0000 Author: jkim Date: Wed Aug 2 18:01:03 2017 New Revision: 447131 URL: https://svnweb.freebsd.org/changeset/ports/447131 Log: Fix build with Clang 3.4. PR: 221173 Added: head/textproc/libstaroffice/files/ head/textproc/libstaroffice/files/patch-src_lib_libstaroffice__internal.hxx (contents, props changed) Added: head/textproc/libstaroffice/files/patch-src_lib_libstaroffice__internal.hxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/libstaroffice/files/patch-src_lib_libstaroffice__internal.hxx Wed Aug 2 18:01:03 2017 (r447131) @@ -0,0 +1,17 @@ +--- src/lib/libstaroffice_internal.hxx.orig 2017-07-03 08:05:09 UTC ++++ src/lib/libstaroffice_internal.hxx +@@ -113,9 +113,11 @@ struct STOFF_shared_ptr_noop_deleter { + /** fall through attributes */ + #define STOFF_FALLTHROUGH + #if defined(__clang__) +-# if defined(__has_cpp_attribute) && __has_cpp_attribute(clang::fallthrough) +-# undef STOFF_FALLTHROUGH +-# define STOFF_FALLTHROUGH [[clang::fallthrough]] ++# if defined(__has_cpp_attribute) ++# if __has_cpp_attribute(clang::fallthrough) ++# undef STOFF_FALLTHROUGH ++# define STOFF_FALLTHROUGH [[clang::fallthrough]] ++# endif + # endif + #elif defined(__GNUC__) + # if __GNUC__>=7