Date: Wed, 2 Aug 2017 18:01:03 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447131 - head/textproc/libstaroffice/files Message-ID: <201708021801.v72I13dv052553@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708021801.v72I13dv052553>