Summary: | net-im/centerim, net-im/centerim-devel: Fix build with Clang 6 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Tobias Kortkamp <tobik> | ||||
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | frank | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(frank) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/centerim-4.22.10_5.log | ||||||
Attachments: |
|
Description
Tobias Kortkamp
2018-08-26 05:25:42 UTC
Created attachment 196552 [details]
net-im__centerim.diff
Comment on attachment 196552 [details]
net-im__centerim.diff
The error from the log is trivially patched, but there are later problems
then:
msnhook.cc:950:50: error: invalid operands to binary expression ('__bind<int &,
sockaddr *, unsigned long>' and 'int')
if(bind(s, (sockaddr *) &addr, sizeof(addr)) < 0 || listen(s, 1) < 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
I have given up afterwards.
It might be better to update CenterIM to the latest version instead.
Should also be applicable to net-im/centerim-devel A commit references this bug: Author: tobik Date: Mon Sep 10 15:32:25 UTC 2018 New revision: 479433 URL: https://svnweb.freebsd.org/changeset/ports/479433 Log: net-im/centerim{,-devel}: Fix build with Clang 6 In file included from rsshook.cc:32: ../../src/icqface.h:248:50: error: cannot combine with previous 'bool' declaration specifier bool findresults(const imsearchparams &sp, bool auto = false); ^ ... and more if one gets past this http://beefy12.nyi.freebsd.org/data/head-amd64-default/p479076_s338486/logs/errors/centerim-4.22.10_5.log http://beefy12.nyi.freebsd.org/data/head-amd64-default/p479076_s338486/logs/errors/centerim-devel-4.22.10.11_7.log PR: 230904 Approved by: frank@altpeter.de (maintainer timeout, 2 weeks) Changes: head/net-im/centerim/Makefile head/net-im/centerim-devel/Makefile |