Bug 227148

Summary: [MAINTAINER] cad/calculix: fix build with clang 6.
Product: Ports & Packages Reporter: Pedro F. Giffuni <pfg>
Component: Individual Port(s)Assignee: Thomas Zander <riggs>
Status: Closed FIXED    
Severity: Affects Only Me CC: riggs
Priority: --- Keywords: patch
Version: LatestFlags: riggs: merge-quarterly+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix type mismatch. none

Description Pedro F. Giffuni freebsd_committer freebsd_triage 2018-03-31 23:04:05 UTC
Created attachment 192019 [details]
Fix type mismatch.

There is indeed a dubious cast here (char)NULL is not a correct way to refer to the NULL character '\0'.

Pet portlint while here.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-04-01 15:37:09 UTC
A commit references this bug:

Author: riggs
Date: Sun Apr  1 15:36:23 UTC 2018
New revision: 466167
URL: https://svnweb.freebsd.org/changeset/ports/466167

Log:
  Fix build with clang 6.x, pet portlint

  PR:		227148
  Submitted by:	pfg (maintainer)
  MFH:		2018Q2

Changes:
  head/cad/calculix/Makefile
  head/cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-04-01 15:39:12 UTC
A commit references this bug:

Author: riggs
Date: Sun Apr  1 15:38:49 UTC 2018
New revision: 466168
URL: https://svnweb.freebsd.org/changeset/ports/466168

Log:
  MFH: r466167

  Fix build with clang 6.x, pet portlint

  PR:		227148
  Submitted by:	pfg (maintainer)

  Approved by:	ports-secteam (riggs)

Changes:
_U  branches/2018Q2/
  branches/2018Q2/cad/calculix/Makefile
  branches/2018Q2/cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp