Bug 234425

Summary: devel/protobuf: Fix build for powerpcspe and likely powerpc(32)
Product: Ports & Packages Reporter: Justin Hibbits <jhibbits>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (sunpoet)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to link in libatomic on 32-bit archs with no 64-bit atomics none

Description Justin Hibbits freebsd_committer freebsd_triage 2018-12-26 20:47:30 UTC
Created attachment 200539 [details]
Patch to link in libatomic on 32-bit archs with no 64-bit atomics

devel/protobuf needs to link against libatomic for 64-bit atomics when built with ports gcc on platforms that don't have 64-bit atomic operations.  The attached patch, obtained from upstream and massaged to fit our version, fixes this.  The patch is already included in the next version of protobuf.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-01-05 22:48:25 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Jan  5 22:47:17 UTC 2019
New revision: 489414
URL: https://svnweb.freebsd.org/changeset/ports/489414

Log:
  Fix build on powerpcspe with linking to libatomic

  Obtained from:	https://github.com/protocolbuffers/protobuf/commit/56b40a8f055cfd05633054aed5d3466a6e058b72
  PR:		234425
  Submitted by:	jhibbits

Changes:
  head/devel/protobuf/files/patch-configure.ac
  head/devel/protobuf/files/patch-src-Makefile.am
  head/devel/protobuf/files/patch-tests.sh
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-01-05 23:21:24 UTC
Committed. Thanks!