Bug 240742 - databases/cassandra-cpp-driver: fix build on GCC architectures
Summary: databases/cassandra-cpp-driver: fix build on GCC architectures
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Pietro Cerutti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-22 01:23 UTC by Piotr Kubaj
Modified: 2019-09-23 12:46 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gahr)


Attachments
patch (327 bytes, patch)
2019-09-22 01:23 UTC, Piotr Kubaj
no flags Details | Diff
v2 (381 bytes, patch)
2019-09-22 18:04 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (gahr)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-09-22 01:23:02 UTC
Created attachment 207707 [details]
patch

Add -Wno-error=deprecated-copy to CXXFLAGS for GCC to not hit:
/wrkdirs/usr/ports/databases/cassandra-cpp-driver/work/cpp-driver-2.13.0/src/execution_profile.hpp:28:7: error: implicitly-declared 'datastax::internal::Vector<std::__cxx11::basic_string<char, std::char_traits<char>, datastax::internal::Allocator<char> > >& datastax::internal::Vector<std::__cxx11::basic_string<char, std::char_traits<char>, datastax::internal::Allocator<char> > >::operator=(const datastax::internal::Vector<std::__cxx11::basic_string<char, std::char_traits<char>, datastax::internal::Allocator<char> > >&)' is deprecated [-Werror=deprecated-copy]
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2019-09-22 18:04:03 UTC
Created attachment 207724 [details]
v2

Sorry, I'm not sure how the first patch ended up that way.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2019-09-23 04:27:22 UTC
Approved as mentor (built on ppcports) pending maintainer review.
Comment 3 Piotr Kubaj freebsd_committer freebsd_triage 2019-09-23 12:46:44 UTC
Fixed by jbeich.