svn commit: r447130 - head/textproc/libmwaw03/files

Jung-uk Kim jkim at FreeBSD.org
Wed Aug 2 18:00:59 UTC 2017


Author: jkim
Date: Wed Aug  2 18:00:57 2017
New Revision: 447130
URL: https://svnweb.freebsd.org/changeset/ports/447130

Log:
  Fix build with Clang 3.4.
  
  PR:		221173

Added:
  head/textproc/libmwaw03/files/
  head/textproc/libmwaw03/files/patch-src_lib_libmwaw__internal.hxx   (contents, props changed)

Added: head/textproc/libmwaw03/files/patch-src_lib_libmwaw__internal.hxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libmwaw03/files/patch-src_lib_libmwaw__internal.hxx	Wed Aug  2 18:00:57 2017	(r447130)
@@ -0,0 +1,17 @@
+--- src/lib/libmwaw_internal.hxx.orig	2017-07-03 08:10:43 UTC
++++ src/lib/libmwaw_internal.hxx
+@@ -119,9 +119,11 @@ struct MWAW_shared_ptr_noop_deleter {
+ /** fall through attributes */
+ #define MWAW_FALLTHROUGH
+ #if defined(__clang__)
+-#  if defined(__has_cpp_attribute) && __has_cpp_attribute(clang::fallthrough)
+-#    undef MWAW_FALLTHROUGH
+-#    define MWAW_FALLTHROUGH [[clang::fallthrough]]
++#  if defined(__has_cpp_attribute)
++#    if __has_cpp_attribute(clang::fallthrough)
++#      undef MWAW_FALLTHROUGH
++#      define MWAW_FALLTHROUGH [[clang::fallthrough]]
++#    endif
+ #  endif
+ #elif defined(__GNUC__)
+ #  if __GNUC__>=7


More information about the svn-ports-all mailing list