Bug 239324 - net-im/qTox: fix build with GCC-based architectures
Summary: net-im/qTox: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-19 23:59 UTC by Piotr Kubaj
Modified: 2019-07-20 07:22 UTC (History)
1 user (show)

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


Attachments
patch (542 bytes, patch)
2019-07-19 23:59 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-07-19 23:59:06 UTC

    
Comment 1 Piotr Kubaj freebsd_committer 2019-07-19 23:59:56 UTC
Created attachment 205913 [details]
patch

GCC architectures need -Wno-error=deprecated-declarations to prevent:
/wrkdirs/usr/ports/net-im/qTox/work/qTox-1.16.3-529-gb4450319/src/main.cpp:225:10: error: 'template<class> class std::auto_ptr' is deprecated [-Werror=deprecated-declarations]
     std::auto_ptr<IPC> ipc;
          ^~~~~~~~
Comment 2 Yuri Victorovich freebsd_committer 2019-07-20 04:47:26 UTC
The pull request just needs to be updated, it's fixed it it. I will do this, thanks for reporting this.
Comment 3 commit-hook freebsd_committer 2019-07-20 07:22:33 UTC
A commit references this bug:

Author: yuri
Date: Sat Jul 20 07:22:12 UTC 2019
New revision: 506977
URL: https://svnweb.freebsd.org/changeset/ports/506977

Log:
  net-im/qTox: fix build with GCC-based architectures by updating to the revision of the PR that doesn't contain std::auto_ptr

  PR:		239324
  Reported by:	pkubaj

Changes:
  head/net-im/qTox/Makefile
  head/net-im/qTox/distinfo