Bug 232491 - games/rtb: fix build with GCC-based architectures
Summary: games/rtb: 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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-20 23:10 UTC by Piotr Kubaj
Modified: 2018-11-05 20:30 UTC (History)
1 user (show)

See Also:


Attachments
patch (6.81 KB, patch)
2018-10-20 23:10 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 2018-10-20 23:10:08 UTC
Created attachment 198421 [details]
patch

This port requires USES=compiler:c++11-lang, since it links with libgraphite.

It also requires some includes, to build it with GCC7. One of source files uses CRLF line endings, which necessitates USES=dos2unix.

While here, add USES=gnome localbase:ldflags.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-05 20:30:51 UTC
A commit references this bug:

Author: linimon
Date: Mon Nov  5 20:30:33 UTC 2018
New revision: 484219
URL: https://svnweb.freebsd.org/changeset/ports/484219

Log:
  This port requires USES=compiler:c++11-lang, since it links with
  libgraphite.

  It also requires some includes, to build it with GCC7.  One of source
  files uses CRLF line endings, which necessitates USES=dos2unix.

  While here, add USES=gnome localbase:ldflags.

  PR:		232491
  Submitted by:	Piotr Kubaj

Changes:
  head/games/rtb/Makefile
  head/games/rtb/files/patch-Robots_seek__and__destroy_seek__and__destroy.cc
  head/games/rtb/files/patch-Robots_xt-bot_xt-bot-a.cpp
  head/games/rtb/files/patch-Robots_xt-bot_xt-bot-b.cpp
  head/games/rtb/files/patch-include_Dialog.h
  head/games/rtb/files/patch-team-framework__io__unixinstreambuf.cpp
  head/games/rtb/files/patch-team-framework__io__unixoutstreambuf.cpp