Bug 251128

Summary: textproc/goldendict: fails to build with llvm10
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: Boris Samorodov <bsam>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (bsam)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mikael Urankar freebsd_committer freebsd_triage 2020-11-14 09:25:46 UTC
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p554788_s367522/logs/errors/goldendict-1.5.0.g20190709_2.log

./sptr.hh:71:12: error: cannot initialize return object of type 'unsigned int' with an lvalue of type 'unsigned int *const'
  { return count; }
           ^~~~~

upstream fix: https://github.com/goldendict/goldendict/commit/f905b93de5386284166588ac1f05383af9aa1d2e
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-12-01 16:50:34 UTC
A commit references this bug:

Author: mikael
Date: Tue Dec  1 16:50:01 UTC 2020
New revision: 556759
URL: https://svnweb.freebsd.org/changeset/ports/556759

Log:
  textproc/goldendict: Fix build with llvm10

  ./sptr.hh:71:12: error: cannot initialize return object of type 'unsigned int' with an lvalue of type 'unsigned int *const'
    { return count; }
             ^~~~~

  Import upstream fix

  PR:		251128
  Approved by:	bsam (maintainer timeout)

Changes:
  head/textproc/goldendict/Makefile
  head/textproc/goldendict/distinfo