Bug 241194 - math/gfan: fix build on 13.0-CURRENT
Summary: math/gfan: fix build on 13.0-CURRENT
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: Steve Wills
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-10-11 11:22 UTC by Lorenzo Salvadore
Modified: 2019-10-15 16:06 UTC (History)
0 users

See Also:


Attachments
gfan - fix on 13.0-CURRENT (449 bytes, patch)
2019-10-11 11:22 UTC, Lorenzo Salvadore
salvadore: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer freebsd_triage 2019-10-11 11:22:47 UTC
Created attachment 208243 [details]
gfan - fix on 13.0-CURRENT

At the moment gfan is broken on 13.0-CURRENT. Apparently this is due to a conflict between the definition of log2 in math.h and the definition of log2 in gfan's sources: the patch I propose should fix this issue.


See the following links for the actual errors:

http://beefy17.nyi.freebsd.org/data/head-i386-default/p514206_s353378/logs/gfan-0.6.2_1.log
http://beefy18.nyi.freebsd.org/data/head-amd64-default/p514206_s353378/logs/gfan-0.6.2_1.log

-------------------

I tested successfully the patch with poudriere on {11.3,12.0}-RELEASE {i386,amd64}. Of course it needs to be tested on 13.0-CURRENT, but unfortunately I am unable to do so: I run 12.1-STABLE and cannot run 13.0-CURRENT jails, while virtualization is quite difficult for my old and slow hardware. Then I ask if someone else can please test it.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-10-15 16:06:42 UTC
A commit references this bug:

Author: swills
Date: Tue Oct 15 16:05:43 UTC 2019
New revision: 514542
URL: https://svnweb.freebsd.org/changeset/ports/514542

Log:
  math/gfan: fix build on 13.0-CURRENT

  PR:		241194
  Submitted by:	Lorenzo Salvadore <phascolarctos@protonmail.ch> (maintainer)

Changes:
  head/math/gfan/Makefile
Comment 2 Steve Wills freebsd_committer freebsd_triage 2019-10-15 16:06:52 UTC
Committed, thanks!