[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: Wed, 21 Aug 2024 19:49:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914

--- Comment #36 from shamaz.mazum@gmail.com ---
(In reply to Nuno Teixeira from comment #35)

With all respect, I am 90% sure, you are doing something wrong.

/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.42.4/Source/WebCore/platform/MediaSample.h:65:83:
note: copy constructor of '(unnamed union at
/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.42.4/Source
/WebCore/platform/MediaSample.h:61:5)' is implicitly deleted because variant
field 'byteRangeSample' has a non-trivial copy constructor
        std::pair<MTPluginByteSourceRef, std::reference_wrapper<const
TrackInfo>> byteRangeSample;
                                                                               
  ^
1 error generated.

This says exactly that the patch wasn't applied.

Can you show the output of the following program compiled with that compiler?

#include <iostream>
#include <utility>
#include <type_traits>

int main () {
    bool trivial = std::is_trivially_copy_constructible<std::pair<int, int>>();
    std::cout << "std::pair copy constructor is " <<
        (trivial ? "trivial" : "non-trivial") << std::endl;
    return 0;
}

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