Bug 237602 - security/tinc-devel autoconf fails with clang
Summary: security/tinc-devel autoconf fails with clang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-27 12:14 UTC by Michael Pape
Modified: 2019-04-29 08:32 UTC (History)
0 users

See Also:
dinoex: maintainer-feedback+


Attachments
patch to be copied into files directory (1.18 KB, patch)
2019-04-27 12:14 UTC, Michael Pape
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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