Bug 239312

Summary: graphics/dilay: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: yuri
Priority: --- Flags: yuri: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch yuri: maintainer-approval+

Description Piotr Kubaj freebsd_committer 2019-07-19 18:00:52 UTC
Created attachment 205903 [details]
patch

GCC needs -Wno-narrowing:
src/isosurface-extraction/grid.cpp:309:53: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]

While here also add USES=gl.
Comment 1 commit-hook freebsd_committer 2019-08-06 19:49:02 UTC
A commit references this bug:

Author: pkubaj
Date: Tue Aug  6 19:48:39 UTC 2019
New revision: 508280
URL: https://svnweb.freebsd.org/changeset/ports/508280

Log:
  graphics/dilay: fix build with GCC-based architectures

  GCC needs -Wno-narrowing:
  src/isosurface-extraction/grid.cpp:309:53: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]

  While here also add USES=gl.

  PR:		239312
  Approved by:	yuri (maintainer), tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D21143

Changes:
  head/graphics/dilay/Makefile