Bug 248729

Summary: databases/gdbm: Fix build with -fno-common (default after llvm 11 update in CURRENT)
Product: Ports & Packages Reporter: Niclas Zeising <zeising>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Closed FIXED    
Severity: Affects Only Me CC: dim, kbowling
Priority: --- Keywords: easy, patch-ready
Version: LatestFlags: bugzilla: maintainer-feedback? (danfe)
zeising: merge-quarterly?
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 248756    
Attachments:
Description Flags
v1 zeising: maintainer-approval?

Description Niclas Zeising freebsd_committer freebsd_triage 2020-08-18 17:43:32 UTC
Created attachment 217315 [details]
v1

Attached patch fixes the build of dtabases/gdbm after llvm 11 update, which enabled -fno-common by default.
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 2020-08-18 23:29:04 UTC
*** Bug 248734 has been marked as a duplicate of this bug. ***
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-08-19 07:57:59 UTC
A commit references this bug:

Author: danfe
Date: Wed Aug 19 07:57:32 UTC 2020
New revision: 545278
URL: https://svnweb.freebsd.org/changeset/ports/545278

Log:
  - Fix the build with -fno-common (clang 11 and gcc 10)
  - GC no longer useful patching of ${WRKSRC}/Makefile.in

  PR:	248729, 248734

Changes:
  head/databases/gdbm/Makefile
Comment 3 Alexey Dokuchaev freebsd_committer freebsd_triage 2020-08-19 07:59:10 UTC
Committed using the sed(1) approach, thanks.