Bug 235938 - x11-toolkits/gtkmathview: fix build with GCC-based architectures
Summary: x11-toolkits/gtkmathview: 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: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-22 14:26 UTC by Piotr Kubaj
Modified: 2019-02-23 05:39 UTC (History)
1 user (show)

See Also:


Attachments
patch (7.17 KB, patch)
2019-02-22 14:26 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-02-22 14:26:01 UTC
Created attachment 202264 [details]
patch

Add USES=compiler:c++11-lang.

Add include <cstring> to fix detection of some functions.

Also add USES=gnome localbase:ldflags.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-02-23 05:39:28 UTC
A commit references this bug:

Author: tobik
Date: Sat Feb 23 05:39:04 UTC 2019
New revision: 493643
URL: https://svnweb.freebsd.org/changeset/ports/493643

Log:
  x11-toolkits/gtkmathview: Fix build on GCC-based architectures

  - Add USES=compiler:c++11-lang gnome localbase:ldflags
  - Add include <cstring> to fix detection of some functions

  PR:		235938
  Submitted by:	pkubaj@anongoth.pl

Changes:
  head/x11-toolkits/gtkmathview/Makefile
  head/x11-toolkits/gtkmathview/files/patch-mathmlps_main.cc
  head/x11-toolkits/gtkmathview/files/patch-mathmlsvg_SMS.cc
  head/x11-toolkits/gtkmathview/files/patch-mathmlsvg_main.cc
  head/x11-toolkits/gtkmathview/files/patch-src_backend_common_t1lib__T1FontManager.cc
  head/x11-toolkits/gtkmathview/files/patch-src_backend_ps_T1__FontDataBase.cc
  head/x11-toolkits/gtkmathview/files/patch-src_engine_mathml_mathVariantAux.cc
  head/x11-toolkits/gtkmathview/files/patch-src_frontend_common_TemplateBuilder.hh
  head/x11-toolkits/gtkmathview/files/patch-src_frontend_common_TemplateElementIterator.hh
  head/x11-toolkits/gtkmathview/files/patch-src_frontend_gmetadom_gmetadom.hh
  head/x11-toolkits/gtkmathview/files/patch-src_frontend_gmetadom_gmetadom__Model.hh
  head/x11-toolkits/gtkmathview/files/patch-src_widget_gtkmathview__common.cc