Bug 251487

Summary: games/neverball: fix build with -fno-common
Product: Ports & Packages Reporter: Val Packett <val>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (amdmi3)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
neverball-common.patch none

Description Val Packett 2020-11-30 15:21:25 UTC
Created attachment 220106 [details]
neverball-common.patch

ld: error: duplicate symbol: text_input
>>> defined at text.c
>>>            share/text.o:(text_input)
>>> defined at st_save.c
>>>            ball/st_save.o:(.bss+0x10)

ld: error: duplicate symbol: text_input
>>> defined at text.c
>>>            share/text.o:(text_input)
>>> defined at st_name.c
>>>            ball/st_name.o:(.bss+0x20)

ld: error: duplicate symbol: text_input
>>> defined at text.c
>>>            share/text.o:(text_input)
>>> defined at main.c
>>>            ball/main.o:(.bss+0x1080)

Let's just add -fcommon for now I guess
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-12-02 14:20:57 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Dec  2 14:20:53 UTC 2020
New revision: 556825
URL: https://svnweb.freebsd.org/changeset/ports/556825

Log:
  - Fix build with -fno-common

  PR:		251487
  Submitted by:	greg@unrelenting.technology

Changes:
  head/games/neverball/Makefile