Bug 237602

Summary: security/tinc-devel autoconf fails with clang
Product: Ports & Packages Reporter: Michael Pape <freebsd>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Some People Flags: dinoex: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to be copied into files directory none

Description Michael Pape 2019-04-27 12:14:45 UTC
Created attachment 204062 [details]
patch to be copied into files directory

Autoconf fails to check for __nonnull__, as clang does not allow that attribute with functions that have no parameters.
With that check failed __nonnull__ will be redefined and the build fails.

The error is known and has been fixed in tinc-devel just after the last tag. Using the attached patch makes tint-devel build as intended.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-04-29 08:04:16 UTC
A commit references this bug:

Author: dinoex
Date: Mon Apr 29 08:03:47 UTC 2019
New revision: 500395
URL: https://svnweb.freebsd.org/changeset/ports/500395

Log:
  - fix __nonnull__ attribute
  PR:		237602
  Submitted by:	pe82.de

Changes:
  head/security/tinc-devel/Makefile
  head/security/tinc-devel/files/patch-configure