Bug 207015

Summary: textproc/libabw: fix build with boost 1.60
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Jung-uk Kim <jkim>
Status: Closed FIXED    
Severity: Affects Some People CC: jkim
Priority: --- Flags: bugzilla: maintainer-feedback? (office)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 199601    
Attachments:
Description Flags
Patch none

Description Dmitry Marakasov freebsd_committer 2016-02-08 11:25:07 UTC
Created attachment 166738 [details]
Patch

Link error when building with boost 1.60, fixed by adding boost_system to link libraries. See also https://wiki.freebsd.org/BoostPortingProject/1.55-to-1.60
Comment 1 Jung-uk Kim freebsd_committer 2016-02-25 19:51:04 UTC
I'll take it.
Comment 2 Jung-uk Kim freebsd_committer 2016-02-25 20:12:29 UTC
Usually, there is no need to add dependency for libboost_system.so.  Often times, all you need is adding "-DBOOST_ERROR_CODE_HEADER_ONLY" and "-DBOOST_SYSTEM_NO_DEPRECATED" to CPPFLAGS or CXXFLAGS.  In fact, the upstream did that.

https://gerrit.libreoffice.org/gitweb?p=libabw.git;a=commitdiff;h=ee2d072
https://gerrit.libreoffice.org/gitweb?p=libabw.git;a=commitdiff;h=9bd64c2
Comment 3 commit-hook freebsd_committer 2016-02-25 20:18:41 UTC
A commit references this bug:

Author: jkim
Date: Thu Feb 25 20:18:17 UTC 2016
New revision: 409554
URL: https://svnweb.freebsd.org/changeset/ports/409554

Log:
  - Add an upstream patch to fix build with Boost 1.59 and later. [1]
  - Update the project URL.
  - Make portlint happy.

  PR:		207015 [1]

Changes:
  head/textproc/libabw/Makefile
  head/textproc/libabw/files/patch-libabw.pc.in
  head/textproc/libabw/files/patch-src_lib_Makefile.in
  head/textproc/libabw/pkg-descr
Comment 4 Jung-uk Kim freebsd_committer 2016-02-25 20:22:26 UTC
Committed the upstream patch.