Bug 237148 - chinese/scim-fcitx: fix build with GCC-based architectures
Summary: chinese/scim-fcitx: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-09 08:40 UTC by Piotr Kubaj
Modified: 2019-04-30 19:28 UTC (History)
2 users (show)

See Also:


Attachments
patch (4.49 KB, patch)
2019-04-09 08:40 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-04-09 08:40:40 UTC
Created attachment 203531 [details]
patch

Apart from using new GCC on GCC architectures, this port also needs to including sys/types.h and cstring in some cpp files.

Tested on powerpc64 and amd64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-04-30 19:24:41 UTC
A commit references this bug:

Author: pkubaj
Date: Tue Apr 30 19:23:45 UTC 2019
New revision: 500557
URL: https://svnweb.freebsd.org/changeset/ports/500557

Log:
  chinese/scim-fcitx: fix build with GCC-based architectures

  Apart from using new GCC on GCC architectures, this port also needs to including sys/types.h and cstring in some cpp files:
  /usr/local/lib/libscim-1.0.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'

  PR:		237148
  Approved by:	meta (maintainer timeout), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20106

Changes:
  head/chinese/scim-fcitx/Makefile
  head/chinese/scim-fcitx/files/patch-src__sp.cpp
  head/chinese/scim-fcitx/files/patch-src__tools.cpp
  head/chinese/scim-fcitx/files/patch-src_ime.cpp
  head/chinese/scim-fcitx/files/patch-src_ime.h
  head/chinese/scim-fcitx/files/patch-src_pyParser.h
  head/chinese/scim-fcitx/files/patch-src_scim__fcitx__imengine.cpp