[Bug 275914] www/webkit2-gtk{3,4}: Flavorize?: Deal with 4.0, 4.1 and 6.0 SONAMEs

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 Aug 2024 19:21:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914

--- Comment #40 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(In reply to shamaz.mazum from comment #36)

I have patched devel/llvm16. Results from llvm 16 and 18 are the same:

% clang++18 check.cc
% ./a.out
std::pair copy constructor is non-trivial

% rm a.out
% clang++16 check.cc
% ./a.out
std::pair copy constructor is non-trivial

Patch used:
(devel/llvm16/files/patch-libcxx_include_____config)

--- libcxx/include/__config.orig        2024-08-23 10:54:26 UTC
+++ libcxx/include/__config
@@ -162,9 +162,9 @@
 #    endif
 // Feature macros for disabling pre ABI v1 features. All of these options
 // are deprecated.
-#    if defined(__FreeBSD__)
-#      define _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR
-#    endif
+//#    if defined(__FreeBSD__)
+//#      define _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR
+//#    endif
 #  endif

 #  if defined(_LIBCPP_BUILDING_LIBRARY) || _LIBCPP_ABI_VERSION >= 2

-- 
You are receiving this mail because:
You are the assignee for the bug.